Deadlock in java.util.jar.JarFile

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: P3
    • None
    • Affects Version/s: None
    • Component/s: security-libs
    • None

      A deadlock condition may occur when a main thread is attempting to verify a Jar signature and another thread, that might be started by certain JVM tools, has locked LocaleDataMetaInfo by using ServiceLoader and also expects to lock JarFile, which the main thread is already holding


      The following test reproduces the main thread conditions:
      java/security/Policy/SignedJar/SignedJarTest.java
      sun/security/tools/jarsigner/multiRelease/MVJarSigningTest.java

            Assignee:
            Weijun Wang
            Reporter:
            Fernando Guallini
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: