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

JarFile::isMultiRelease does not return true in all cases where it should return true

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Resolved In Build:
      b134

      Description

      JarFile::isMultiRelease does not return true if the underlying jar file is a multi-release jar file and JarFile is opened with the version argument set to JarFile.baseVersion() or a value less than JarFile.baseVersion. Hence we can't always differentiate a multi-release JarFile from a "regular" JarFile.

        Attachments

          Activity

            People

            Assignee:
            sdrach Steve Drach (Inactive)
            Reporter:
            sdrach Steve Drach (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: