On Fri, 17 Jul 2026 03:23:01 GMT, Chen Liang <[email protected]> wrote:
>> Some final polishing to align javadocs with the JEP. >> >> - Main goal is to remove usage of "statewise equivalent", as noted in the >> title >> - A little bit of general editing in the Object intro, `equals` method, and >> `clone` method >> - Corrected "the finalize method of a value ~class~ _object_ will never be >> invoked" >> >> --------- >> - [x] I confirm that I make this contribution in accordance with the >> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). > > src/java.base/share/classes/java/util/IdentityHashMap.java line 55: > >> 53: * When preview features are enabled, keys and values may be >> 54: * {@linkplain java.util.Objects#hasIdentity value objects}. >> 55: * Two value object keys are {@code == } if they are instances > > Suggestion: > > * Two value object keys are {@code ==} if they are instances Don't know why they were being written that way, but you're right, it renders better without the extra space. I'll fix them all. ------------- PR Review Comment: https://git.openjdk.org/valhalla/pull/2651#discussion_r3604158818
