RFR 8211941 : Enable checking/ignoring of non-conforming Class-Path entries

Brent Christian brent.christian at oracle.com
Thu Mar 21 17:59:53 UTC 2019


Done:

8221267[1] : Document the 
jdk.net.URLClassPath.showIgnoredClassPathEntries system property

Thanks,
-Brent

1. https://bugs.openjdk.java.net/browse/JDK-8221267

On 3/20/19 5:28 PM, Mandy Chung wrote:
> Hi Brent,
> 
> The change looks fine.
> 
> Can you file a JBS issue to follow up a place to document this
> JDK-specific property?
> 
> thanks
> Mandy
> 
> On 3/20/19 2:01 PM, Brent Christian wrote:
>> Hi,
>>
>> JDK-8216401[1][2] added code to improve JAR spec conformance (WRT 
>> relative URLs in the Class-Path attribute), while maintaining some key 
>> compatibility aspects (entries using "file:" URLs are not relative, 
>> but are used by some libraries).
>>
>> This code was disabled by default, but we would now like to enable it.
>>
>> Bug:
>> https://bugs.openjdk.java.net/browse/JDK-8211941
>> Webrev:
>> http://cr.openjdk.java.net/~bchristi/8211941/webrev-06/
>>
>> This change includes a new system property 
>> ("jdk.net.URLClassPath.showIgnoredClassPathEntries") that can be set 
>> to aid in debugging JAR Class-Paths by printing entries that are ignored.
>>
>> Thanks,
>> -Brent
>>
>> 1. https://bugs.openjdk.java.net/browse/JDK-8216401
>>
>> 2. 
>> https://mail.openjdk.java.net/pipermail/core-libs-dev/2019-January/057868.html
> 


More information about the core-libs-dev mailing list