I'm dynamically loading classes with a custom class loader (extends URLClassLoader), the trouble is, that some of the classes that are loaded this way, extend classes loaded from the normal class path. When trying to call package/protected utility methods on the base classes, I get IllegalAccessErrors. This is out of my area of knowledge, and google doesn't appear to be playing on this one
. Does anyone know of a way through security managers, or class loader tricks, or something in the meta inf in the jar or anything that will get these classes playing nicely?