Closed GoogleCodeExporter closed 9 years ago
The problem might be that there is no internal usage of the classloaders passed
at the reflections contructor. It might be the case that only this classloader
family is actually able to load the classes that are going to be scanned.
Original comment by otavioal...@gmail.com
on 8 Aug 2011 at 8:25
Okay, now I see how I can do it! A little bit untrivial but ok!
ClasspathHelper.defaultClassLoaders = new ClassLoader[]{MY_CLASS_LOADER};
Original comment by otavioal...@gmail.com
on 8 Aug 2011 at 8:42
that's a nice workaround... version in trunk changed so that
configurationBuilder.addClassLoader/setClassLoaders is now available to the
getMethod/GetField methods, instead of changing the static field.
Original comment by ronm...@gmail.com
on 30 Aug 2011 at 5:45
Original issue reported on code.google.com by
otavioal...@gmail.com
on 8 Aug 2011 at 7:52Attachments: