-
Bug
-
Resolution: Fixed
-
P2
-
9
-
b167
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8179809 | 10 | Pavel Rappo | P2 | Resolved | Fixed | b07 |
https://docs.oracle.com/javase/8/docs/api/java/lang/doc-files/ValueBased.html
TODO:
#1. Provide a similar paragraph as for other value-based classes:
* <p>This is a <a href="./doc-files/ValueBased.html">value-based</a>
* class; use of identity-sensitive operations (including reference equality
* ({@code ==}), identity hash code, or synchronization) on instances of
* {@code Version} may have unpredictable results and should be avoided.
* </p>
#2. Restore lost `final` modifier for class
#3. Make constructor `final`
#4. Make `version` method return immutable lists rather than just unmodifiable
TODO:
#1. Provide a similar paragraph as for other value-based classes:
* <p>This is a <a href="./doc-files/ValueBased.html">value-based</a>
* class; use of identity-sensitive operations (including reference equality
* ({@code ==}), identity hash code, or synchronization) on instances of
* {@code Version} may have unpredictable results and should be avoided.
* </p>
#2. Restore lost `final` modifier for class
#3. Make constructor `final`
#4. Make `version` method return immutable lists rather than just unmodifiable
- backported by
-
JDK-8179809 Runtime.Version must be a value-based class
-
- Resolved
-