On Mon, 19 Oct 2026 22:16:06 GMT, Vicente Romero <[email protected]> wrote:

>> After this PR value classes that override method Object::finalize will get a 
>> compiler error instead of a warning
>> 
>> TIA
>> 
>> ---------
>> - [X] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Vicente Romero has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   addressing review comments

This change looks correct and moves the language/compiler in the direction we 
discussed (e.g. same place as enum classes) and prevents error prone behavior 
where finalizer is never called by design.

-------------

Marked as reviewed by mcimadamore (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/32355#pullrequestreview-5582236686

Reply via email to