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

(spec) Runtime.Version version string is ambiguous (JEP 223)

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      FULL PRODUCT VERSION :


      A DESCRIPTION OF THE PROBLEM :
      According to JEP 223, the version format is:
      $VNUM(-$PRE)?(\+$BUILD)?(-$OPT)?

      Both PRE and OPT are alphanumeric, with OPT additionally allowing periods.

      Since PRE, BUILD, and OPT are all optional, there is no way to distinguish a version identifier with no PRE or BUILD and an OPT that does not contain a period, and one with a PRE but no BUILD or OPT.

      In other words, if the version identifier is "9-something", "something" could either be a pre release identifier or optional information. I don't see anything in the specification that distinguishes these two possibilities.


      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              iris Iris Clark
              Reporter:
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: