Release Note: sun.misc.URLClassPath.disableJarChecking System Property to Verify JAR File Header in URLClassLoader's ClassPath

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Delivered
    • Priority: P4
    • 24
    • Affects Version/s: 24
    • Component/s: core-libs

      The system property `sun.misc.URLClassPath.disableJarChecking` controls whether the first 4 bytes of JAR files on the class path are checked to be the magic number for ZIP files ("PK"). The check is not performed by default.

      If the system property is set on the command line to the value `false`, then JAR files on the class path are checked. JAR files used by `java.net.URLClassLoader` at run time are also checked. JAR files that fail the check are ignored.

            Assignee:
            Jaikiran Pai
            Reporter:
            Jaikiran Pai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: