On Tue, 5 Aug 2025 20:11:25 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:

>> Jeremy Wood has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Update 
>> test/jdk/javax/swing/JPasswordField/PasswordFieldInputMapWordTest.java
>>   
>>   Co-authored-by: DamonGuy <damon.ngu...@oracle.com>
>
> test/jdk/javax/swing/JPasswordField/PasswordFieldInputMapWordTest.java line 
> 81:
> 
>> 79:      * These are all the actions with "word" in their field name.
>> 80:      */
>> 81:     static Collection<String> wordActions = new TreeSet<>(Arrays.asList(
> 
> Would `Set.of` do the job?
> 
> Perhaps, `List.of` would be as good.

OK, this is updated to Set.of

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25688#discussion_r2255568216

Reply via email to