No, Maven will (correctly) close URLClassLoaders on java7 and will
continue to work as before on older JVMs. Here is the code that
implements this logic
https://github.com/sonatype/plexus-classworlds/blob/master/src/main/java/org/codehaus/plexus/classworlds/ClassWorld.java#L110
--
Regards,
Igor
On 2/11/2014, 21:02, Mark Derricutt wrote:
Does this mean Maven will now require Java 7 as the running JVM?
Oddly - I don't see any close() method mentioned on:
http://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html
anywhere?
On 12 Feb 2014, at 12:20, Stuart McCulloch wrote:
I suspect this is related to the change in Classworlds 2.4.1+ to use the
new ClassLoader.close() method available in Java7 to forcibly close plugin
ClassLoaders when the plugin/container realm is disposed. This happens
after the Maven build is finished, but before JVM shutdown hooks run.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org