[lworld] RFR: 8327702: [lworld] Update java.lang.Object mention of value classes

Mandy Chung mchung at openjdk.org
Fri Mar 8 20:24:04 UTC 2024


On Fri, 8 Mar 2024 16:07:44 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

> Correct java.lang.Object doc for identity and value classes

Marked as reviewed by mchung (Committer).

src/java.base/share/classes/java/lang/Object.java line 40:

> 38:  * <p>
> 39:  * Subclasses of {@code java.lang.Object} can be either identity classes or value classes.
> 40:  * See {@jls The Java Language Specification 8.1.1.5 value Classes}.

This does not seem highly necessary.   If it's there, maybe worth adding the link to `Class::isIdentity` and `Class::isValue`

-------------

PR Review: https://git.openjdk.org/valhalla/pull/1041#pullrequestreview-1925775356
PR Review Comment: https://git.openjdk.org/valhalla/pull/1041#discussion_r1518254728



More information about the valhalla-dev mailing list