RFR: 8283340: Remove support for -Dsun.misc.URLClassPath.disableJarChecking

Liam Miller-Cushon cushon at openjdk.java.net
Fri Mar 18 17:51:31 UTC 2022


On Thu, 17 Mar 2022 23:44:32 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:

> This change removes support for `-Dsun.misc.URLClassPath.disableJarChecking`. As discussed in the bug the feature doesn't current work, and only ever supported scenarios where a security manager is installed, so it seems safe to remove.

Also, I belatedly realized that I don't think this is actually a no-op: the exception is never shown to the user, but it will cause the jar to be skipped. It should be possible to write a test to exercise that, so I may look in to contributing that if there's interest.

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

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


More information about the core-libs-dev mailing list