RFR: 8283340: Remove support for -Dsun.misc.URLClassPath.disableJarChecking
Jiangli Zhou
jiangli at openjdk.java.net
Fri Mar 18 04:04:27 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.
src/java.base/share/classes/jdk/internal/loader/URLClassPath.java line 806:
> 804:
> 805: /* Throws if the given jar file is does not start with the correct LOC */
> 806: @SuppressWarnings("removal")
I noticed the @SuppressWarnings("removal") when looking at the PR. It is added by https://github.com/openjdk/jdk/commit/6765f902505fbdd02f25b599f942437cd805cad1 for [JDK-8266459](https://bugs.openjdk.java.net/browse/JDK-8266459). So looks like the method has been targeted for deprcating/removal.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7861
More information about the core-libs-dev
mailing list