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

(zipfs) JarFileSystem::isMultiReleaseJar is incorrect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 9
    • None
    • core-libs
    • b162
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved: