The JLS changes for value objects were updated to reflect that (i) value objects are never finalized, and (ii) it is a compiler error to declare a `finalize` method in a value class. This patch aligns the Object javadoc with that update.
--------- - [X] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - 8388161: value-objects-jls: 12.6: address finalization of value objects Changes: https://git.openjdk.org/jdk/pull/33071/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33071&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8388161 Stats: 20 lines in 1 file changed: 6 ins; 10 del; 4 mod Patch: https://git.openjdk.org/jdk/pull/33071.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/33071/head:pull/33071 PR: https://git.openjdk.org/jdk/pull/33071
