On Mon, 17 Aug 2026 15:59:09 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

Personally, I’d rather not do this, as once finalisation is finally removed, 
any `void finalize()` method will become a regular method, which it technically 
already is for value classes.

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

PR Comment: https://git.openjdk.org/jdk/pull/32355#issuecomment-5443198509

Reply via email to