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

Jar manifest attribute "Multi-Release" accepts any value

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
      None

      Description

      When the Multi-Release attribute was "invented", it was thought to be a binary attribute, either it was present or not, the value did not matter. In practice, the value is almost always true. Also, since the attribute is parsed with a modified Boyer-Moore search, we can further decrease false positives by looking for the value "true". So, enforcing a "true" value is both consistent with current practice and a more accurate indicator.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: