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

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

XMLWordPrintable

    • b167
    • Not verified

        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

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

                Created:
                Updated:
                Resolved: