> 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).
Dan Smith has updated the pull request incrementally with one additional commit since the last revision: rephrased `finalize` preview block ------------- Changes: - all: https://git.openjdk.org/jdk/pull/33071/files - new: https://git.openjdk.org/jdk/pull/33071/files/07a94911..2a9b3896 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=33071&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=33071&range=00-01 Stats: 3 lines in 1 file changed: 1 ins; 0 del; 2 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
