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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 9
    • core-libs

      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.

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

              Created:
              Updated:
              Resolved: