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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: other-libs
    • Labels:
    • Resolved In Build:
      b167

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: