RFR: 8354646: java.awt.TextField allows to identify the spaces in a password when double clicked at the starting and end of the text [v9]

Jeremy Wood duke at openjdk.org
Fri Jun 6 06:41:56 UTC 2025


On Fri, 6 Jun 2025 03:20:19 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> Jeremy Wood has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - Merge remote-tracking branch 'origin/JDK-8354646' into JDK-8354646
>>  - 8354646: make UnsupportedLookAndFeelException fail test
>>    
>>    This is in response to:
>>    https://github.com/openjdk/jdk/pull/25443#discussion_r2128771448
>
> test/jdk/javax/swing/plaf/basic/BasicPasswordFieldUI/PasswordSelectionWordTest.java line 27:
> 
>> 25:  * @test
>> 26:  * @key headful
>> 27:  * @bug 4231444 8354646
> 
> This bugid needs to be added to java/awt/TextField/SetEchoCharWordOpsTest.java also as that is the original test which raises this issue.

I'm confused by this ask. Are you asking me to update SetEchoCharWordOpsTest.java to include this line:

` * @bug 6191897 4231444 8354646`

I understand topically these tickets are all related, but I ran SetEchoCharWordOpsTest in Aqua using master and this branch: I didn't perceive any difference.

(For context: the git history doesn't really show me if any changes accompanied SetEchoCharWordOpsTest , but I think it passes because of code like this: `"PasswordField.focusInputMap", aquaKeyBindings.getPasswordFieldInputMap()` )

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25443#discussion_r2131602888


More information about the client-libs-dev mailing list