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

JarFile.Release enum needs reconsideration with respect to it's values

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:

      Description

      These issues with JarFile.Release came up in CCC and need to be addressed

      1. Replace Release.RUNTIME object with Release.runtime() method

      2. Perhaps also replace RELEASE.BASE with Release.base() method. Consider exposing RELEASE.VERSION_8 even though 8 is not a "legal" version number for a multi-release jar.

      3. Reorder the Release enum values so new VERSION_XX values can be added to the end rather than inserted in the middle. This keeps the ordinal values in the right sequence.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: