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