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

Deadlock in java.util.jar.JarFile

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3
    • None
    • None
    • security-libs
    • None

    Description

      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

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: