Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8341551

Revisit jdk.internal.loader.URLClassPath.JarLoader after JEP 486

XMLWordPrintable

      jdk.internal.loader.URLClassPath.JarLoader has a checkJar method that will perform additional checks if a security manager is present, and unless the system property "-Dsun.misc.URLClassPath.disableJarChecking" is set to true.

      The property is only consulted and the additional checks are only done if a security manager is present.

      The question is whether we would like to keep the ability to do conditionally perform these additional checks after the security manager is gone.

      One possibility would be to unconditionally check the value of that property and perform the checks when it is false. The default value for that property could be switched to "true" for compatibility (or we could decide to perform the checks by default, but as I understand that could have some regression risks).

            jpai Jaikiran Pai
            dfuchs Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: