Open GoogleCodeExporter opened 8 years ago
To reproduce it easily:
1) Add a custom ClassLoader (addClassLoader)
2) Debug ReflectionUtils.forName or .forNames , look if your configured
ClassLoader is present. Right its missing.
Original comment by tomyma...@googlemail.com
on 30 Apr 2014 at 9:37
The missing classloader on the stack call to getTypesAnnotatedWith will be
fixed.
I agree, passing the classloaders all around is a code smell. A workaround is
to have the context classloader properly set (but that's not always the case),
or not use static methods such as in ReflectionUtils (which would mean
instantiate everything with a context - don't like it either...)
As for the ConfigurationBuilder - a patch is more then welcomed!
Thanks for a great feedback, Tomy!
Original comment by ronm...@gmail.com
on 5 Jun 2014 at 6:16
Original issue reported on code.google.com by
tomyma...@googlemail.com
on 30 Apr 2014 at 9:34