Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2
-
Resolution: Fixed
-
Affects Version/s: 9
-
Fix Version/s: 9
-
Component/s: other-libs
-
Resolved In Build:b167
-
Verification:Not verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8179810 | 10 | Pavel Rappo | P2 | Resolved | Fixed | b07 |
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
$ 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
- backported by
-
JDK-8179810 (spec) Regex in Runtime.Version and JEP 223 should match
-
- Resolved
-
- relates to
-
JDK-8148877 (spec) Specify when an empty '+' is required in a version string
-
- Resolved
-
-
JDK-8160954 (spec) Runtime.Version regex and $PRE/$OPT issues
-
- Closed
-