reflections icon indicating copy to clipboard operation
reflections copied to clipboard

ConfigurationBuilder#build fails on ReflectionException if there is classLoader param

Open dude65 opened this issue 2 years ago • 2 comments

Hello, when I upgraded Reflections from 0.9.12 to 0.10.2 then my code stops working anymore. The reason is that I get ReflectionException in ConfigurationBuilder#build method when one of the parameter is a class loader.

I compared the code and it seems like there used to be a condition else if (param instanceof ClassLoader) { /* already taken care */ }. However this condition is omitted in the new version.

dude65 avatar Dec 01 '22 15:12 dude65

hi! I have the same problem

diegoalbertosaez avatar Dec 11 '22 13:12 diegoalbertosaez

Did you try the workaround mentioned in #401 ?

Lonzak avatar Feb 02 '23 07:02 Lonzak