On Thu, 17 Mar 2022 23:44:32 GMT, Liam Miller-Cushon <cus...@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

Reply via email to