On Tue, 20 Oct 2026 07:52:32 GMT, Maurizio Cimadamore <[email protected]> 
wrote:

>> src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
>>  line 4391:
>> 
>>> 4389: 
>>> 4390: compiler.err.value.finalize=\
>>> 4391:     value classes cannot have finalize methods
>> 
>> Same here, should it be "value classes cannot have a finalize method"?
>
> I agree with @jaikiran -- only one method can ever be defined... perhaps we 
> should tweak in the other direction :-)

given that the same wording affects enums too, we should decide if changing 
both, probably in another PR

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

PR Review Comment: https://git.openjdk.org/jdk/pull/32355#discussion_r4326208589

Reply via email to