RFR: 8358813: JPasswordField identifies spaces in password via delete shortcuts [v3]
Jeremy Wood
duke at openjdk.org
Wed Aug 6 00:08:46 UTC 2025
On Tue, 5 Aug 2025 20:11:25 GMT, Alexey Ivanov <aivanov at 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.nguyen at 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
More information about the client-libs-dev
mailing list