-
Improvement
-
Resolution: Fixed
-
Critical
-
None
-
None
-
None
-
-
Empty show more show less
-
Yes
-
Yes
-
6.1 Release Sprint
-
2
AnnotationProcessingTypeResolver should support whitelisting.
This will also help with problem on WAS, WLP, WLS, WildFly where types are not resolved - https://git.magnolia-cms.com/snippets/fd1584fba03249b3aac256e853855349
Problem on WAS, WLP, WLS, WildFly is in org.reflections.util.ClasspathHelper#forClassLoader method which is used when org.reflections.Reflections is not limited to certain package(s). This method loads resources only from classloaders which are instance of URLClassLoader, but that is not case for WAS, WLP, WLS, WildFly.
If org.reflections.Reflections is limited to certain package(s) then org.reflections.util.ClasspathHelperforResource#forResource method is used which loads resources from whatever classloader.
- is related to
-
MAGNOLIA-7469 Annotation processing type resolver implementation
- Closed