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

Deadlock in java.util.jar.JarFile

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • None
    • None
    • 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

        There are no Sub-Tasks for this issue.

            weijun Weijun Wang
            fguallini Fernando Guallini
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: