On Fri, 25 Sep 2026 16:40:03 GMT, Dan Smith <[email protected]> wrote:
> 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). This pull request has now been integrated. Changeset: decb49e1 Author: Dan Smith <[email protected]> URL: https://git.openjdk.org/jdk/commit/decb49e1f3d05eeae7ef48e43623e3795b21d266 Stats: 10 lines in 1 file changed: 0 ins; 3 del; 7 mod 8388161: value-objects-jls: 12.6: address finalization of value objects Reviewed-by: vromero, liach ------------- PR: https://git.openjdk.org/jdk/pull/33071
