https://bz.apache.org/bugzilla/show_bug.cgi?id=61478
--- Comment #17 from Karl Wright <[email protected]> --- >>> Seriously? I always rant about users not able to use a recent version, but I never would imagine that a PMC chair would write something like that <<< My apologies -- the actual POI version we were using was 3.15, not 3.9, as I explained elsewhere. I hope that is clear now. >>> Could you recommend how to use/identify the correct classloader? <<< Yes, as I explained above, what you really want to emulate is what happens when you do Class.forName(String classname). There is a Class.forName() variant which accepts a passed-in class loader, which is what you use. So you need to do this: >>> Invoking this method is equivalent to: Class.forName(className, true, currentLoader) where currentLoader denotes the defining class loader of the current class. <<< The defining class loader of the current class is: xxx.Class.getClassLoader(); That should be the default behavior, I believe. What do you think? -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
