On Fri, 17 Jul 2026 03:23:25 GMT, David Holmes <[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/lang/Object.java line 49: > >> 47: * It is not possible to synchronize on a value object. >> Applying a {@code >> 48: * synchronize} statement to a value object causes an {@link >> IdentityException} >> 49: * to be thrown. > > I think the original is preferable as the normal terminology is about > "synchronizing on objects". I don't recall "applying a statement" to be > common terminology with regards to statements. ok, that's fine ------------- PR Review Comment: https://git.openjdk.org/valhalla/pull/2651#discussion_r3604160193
