-
Enhancement
-
Resolution: Won't Fix
-
P4
-
None
-
None
When -Dsun.misc.URLClassPath.disableJarChecking=false is set, URLClassPath checks if jars on the classpath start with a valid local directory header, and reports the following exception if they do not:
new IOException("Invalid Jar file");
It would be nice to include the path to the jar file in the exception message, to make the issue easier to debug.
https://github.com/openjdk/jdk/blob/3e393047e12147a81e2899784b943923fc34da8e/src/java.base/share/classes/jdk/internal/loader/URLClassPath.java#L810
new IOException("Invalid Jar file");
It would be nice to include the path to the jar file in the exception message, to make the issue easier to debug.
https://github.com/openjdk/jdk/blob/3e393047e12147a81e2899784b943923fc34da8e/src/java.base/share/classes/jdk/internal/loader/URLClassPath.java#L810
- relates to
-
JDK-8283340 Remove support for -Dsun.misc.URLClassPath.disableJarChecking
-
- Closed
-
- links to
-
Review openjdk/jdk/7848