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

(spec) Regex in Runtime.Version and JEP 223 should match

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: other-libs
    • Labels:
    • Resolved In Build:
      b167
    • Verification:
      Not verified

      Backports

        Description

        Adjustments to the jdk.Version class javadoc should be made to more closely match the implementation and JEP 223. The following JEP changes should be applied to the javadoc:

        $ diff jep-open-mr11.md jep-open-mr12.md
        84c84
        < `^[1-9][0-9]*(((\.0)*\.[1-9][0-9]*)*)*$`. The sequence may be of arbitrary
        ---
        > `^[1-9][0-9]*((\.0)*\.[1-9][0-9]*)*$`. The sequence may be of arbitrary
        166c166
        < - <a name="descSTR"/> $OPT, matching `([-a-zA-Z0-9\.]+)` --- Additional
        ---
        > - <a name="descSTR"/> $OPT, matching `([-a-zA-Z0-9.]+)` --- Additional

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: