RFR: 8273401: Disable JarIndex support in URLClassPath [v2]

Lance Andersen lancea at openjdk.java.net
Thu Sep 16 10:20:50 UTC 2021


On Thu, 16 Sep 2021 09:33:44 GMT, wxiang <github.com+53162078+shiyuexw at openjdk.org> wrote:

>> Given that there is a precedence in this file:
>> 
>> 
>>         p = props.getProperty("jdk.net.URLClassPath.showIgnoredClassPathEntries");
>>         DEBUG_CP_URL_CHECK = p != null ? p.equals("true") || p.isEmpty() : false;
>> 
>> 
>> I would tend to let the new property follow the same pattern, especially since it's temporary.
>
> Yes,I changed the code to follow the same pattern.

> Given that there is a precedence in this file:
> 
> ```
>         p = props.getProperty("jdk.net.URLClassPath.showIgnoredClassPathEntries");
>         DEBUG_CP_URL_CHECK = p != null ? p.equals("true") || p.isEmpty() : false;
> ```
> 
> I would tend to let the new property follow the same pattern, especially since it's temporary.

fair enough :-)

-------------

PR: https://git.openjdk.java.net/jdk/pull/5524


More information about the core-libs-dev mailing list