-
Backport
-
Resolution: Fixed
-
P2
-
None
-
b03
-
Verified
When running bigApp application, the following Exception was thrown:
java.io.IOException: cannot close class loader
at com.sun.tools.javac.util.CloseableURLClassLoader.close(CloseableURLClassLoader.java:60)
at com.sun.tools.javac.processing.JavacProcessingEnvironment.close(JavacProcessingEnvironment.java:916)
at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:738)
at com.sun.tools.javac.main.Main.compile(Main.java:353)
at com.sun.tools.javac.main.Main.compile(Main.java:279)
at com.sun.tools.javac.main.Main.compile(Main.java:270)
at com.sun.tools.javac.Main.compile(Main.java:69)
at com.sun.tools.javac.Main.main(Main.java:54)
Caused by: java.lang.NullPointerException
at com.sun.tools.javac.util.CloseableURLClassLoader.close(CloseableURLClassLoader.java:56)
... 7 more
Approximately 1500 Libraries tests fails due to this bug.
java.io.IOException: cannot close class loader
at com.sun.tools.javac.util.CloseableURLClassLoader.close(CloseableURLClassLoader.java:60)
at com.sun.tools.javac.processing.JavacProcessingEnvironment.close(JavacProcessingEnvironment.java:916)
at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:738)
at com.sun.tools.javac.main.Main.compile(Main.java:353)
at com.sun.tools.javac.main.Main.compile(Main.java:279)
at com.sun.tools.javac.main.Main.compile(Main.java:270)
at com.sun.tools.javac.Main.compile(Main.java:69)
at com.sun.tools.javac.Main.main(Main.java:54)
Caused by: java.lang.NullPointerException
at com.sun.tools.javac.util.CloseableURLClassLoader.close(CloseableURLClassLoader.java:56)
... 7 more
Approximately 1500 Libraries tests fails due to this bug.
- backport of
-
JDK-6881317 regression: NPE in CloseableURLClassLoader
-
- Closed
-
- relates to
-
JDK-6558476 com/sun/tools/javac/Main.compile don't release file handles on return
-
- Closed
-