JDK-8148822 : (spec) Regex in Runtime.Version and JEP 223 should match
  • Type: Bug
  • Component: other-libs
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2016-02-02
  • Updated: 2017-07-10
  • Resolved: 2017-04-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10 JDK 9
10Fixed 9 b167Fixed
Related Reports
Relates :  
Relates :  
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

Comments
It is verified as "Not verified" due to this is a noreg-* issue.
10-07-2017