Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-JSR-3
-
None
-
None
Description
It seems logical that additionalPaths (as set by specify the classpath in the Configuration) would add paths ot the ClassLoader's classpath, but it does not as loadClass(string, boolean) ignores them. I have been using JCI and trying to determine the best way to set the classpath of the classloader at runtime. Currently it seems best to construct a URLClassLoader with the relevant urls and then instantiate a GroovyClassLoader with that as the parent.