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

calls to zip_get() in file share/java/util/zip.c are potentially thread unsafe

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.1.6
    • CPU:
      generic
    • OS:
      solaris_2.5.1
    • Verification:
      Not verified

      Description

      It looks like calls to zip_get() are not thread-safe in jdk115 and jdk116g.

      When loading classes, there is already a higher level lock around class loading so that only one thread can be loading classes at a time. Unfortunately, the system resource code in share/java/lang/resource.c was not written with this
      in mind so that all of its calls to zip_get() are potentially unsafe.

        Attachments

          Activity

            People

            Assignee:
            dconnellsunw David Connelly (Inactive)
            Reporter:
            jbenoit Jonathan Benoit (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: