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

(spec) Specify when an empty '+' is required in a version string

XMLWordPrintable

    • b167

        We need an empty '+' to determine whether "foo" in the version string "9-foo" represents $PRE or $OPT. In this case, "9-foo" should interpret "foo" as $PRE while "9+-foo" would interpret "foo" as $OPT.

        '+' is required for empty build when OPT is present and PRE is not. "9+-opt" and "9-pre-opt" are legal. "9+" is not.

        Both JEP 223 and the specification for jdk.Version (lines 48, 113, 130, and 160) need to be updated to describe this.

              iris Iris Clark
              iris Iris Clark
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: