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

jar tool validation with MR-JAR does not work with classes compiled with preview features enabled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3
    • 21
    • 20
    • tools
    • None
    • jar

    Description

      This was spotted by Jan Lahoda in the context of a multi-release JAR file that contains classes compiled with preview features enabled.

      Fingerprint::isCompatibleVersion, used by the validator in the jar tool, compared the class file version without checking if the minor version has all bits set (to indicate that it was compiled with preview features enabled).

      Attachments

        Issue Links

          Activity

            People

              cstein Christian Stein
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: