RFR 8235361 : JAR Class-Path no longer accepts relative URLs encoding absolute Windows paths (e.g "/C:/...")

Brent Christian brent.christian at oracle.com
Mon Dec 9 20:10:30 UTC 2019


Hi,

As discussed[1] last month on this alias, JAR Class-Path entries[2] that 
encode an absolute Windows path (including a drive letter, so e.g. 
"/C:/path/to/file.jar") are ignored as of 8211941.

Such entries are legal relative URLs, and should not be ignored.  Please 
review my fix to correct this.

Issue:
https://bugs.openjdk.java.net/browse/JDK-8235361
Webrev:
http://cr.openjdk.java.net/~bchristi/8235361/webrev06-open/

Thanks,
-Brent

1. 
https://mail.openjdk.java.net/pipermail/core-libs-dev/2019-November/063491.html

2. 
https://docs.oracle.com/en/java/javase/13/docs/specs/jar/jar.html#class-path-attribute



More information about the core-libs-dev mailing list