On Mon, 27 Apr 2026 14:21:45 GMT, Chen Liang <[email protected]> wrote:

>> Dusan Balek has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Updating Javadoc as suggested in CSR
>
> src/java.base/share/classes/java/lang/runtime/SwitchBootstraps.java line 165:
> 
>> 163:      *       {@code equals} on boxed values)</li>
>> 164:      *   <li>the element is of type {@code EnumDesc}, that describes a 
>> constant
>> 165:      *       that is equal to the target (matched using {@code ==} on 
>> enum constants)</li>
> 
> I think instead of using "(matched using ..." we should use phrases like:
> `that {@code equals} the target`
> `that {@code ==} the target`
> 
> More concise and straightforward.

Done.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/30703#discussion_r3148266780

Reply via email to