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

(zipfs) JarFileSystem::isMultiReleaseJar is incorrect

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b162
    • Verification:
      Verified

      Backports

        Description

        Initial implementation of JEP 238 ignored the value of the multi-release attribute, but this was changed so that the only accepted value should be "multi-release: true", case insensitive, no extra whitespace before or after.

        More work was done to tighten and improve the performance of the JarFile implementation, and it seems the best way to ensure JarFile and JarFileSystem stays the same is to extract the checking logic into a utility class that both can use.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                redestad Claes Redestad
                Reporter:
                redestad Claes Redestad
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: