Value objects can not be used with java.lang.Reference objects because they do not have identity.
WeakHashMap and other APIs that will throw IdentityException should document the requirement and exception.
Clarify the relationship of Class.isIdentity() and Class.isValue() as opposites.
WeakHashMap and other APIs that will throw IdentityException should document the requirement and exception.
Clarify the relationship of Class.isIdentity() and Class.isValue() as opposites.
- is cloned by
-
JDK-8361307 [lworld] REDO: Clarify identity vs value in Class, Objects, and document limitations of value objects
-
- Open
-
- relates to
-
JDK-8361369 [lworld] Treating primitives as isValue() leads to vm crash
-
- Resolved
-
-
JDK-8361302 [lworld] Revert 8346307: [lworld] Clarify identity vs value in Class, Objects, and document limitations of value objects
-
- In Progress
-
- links to
-
Commit(lworld) openjdk/valhalla/6541b8be
-
Review(lworld) openjdk/valhalla/1327