-
Bug
-
Resolution: Fixed
-
P3
-
8, 11, 17, 21, 24, 25
-
MacOS 15 aarch64
-
b03
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8366169 | 25.0.2 | Alexey Ivanov | P3 | Resolved | Fixed | master |
Tested Platform: MacOS 15 aarch64
Test Suite: Regression
Test: java/awt/TextField/SetEchoCharWordOpsTest.java
Description: java.awt.TextField allows to identify the spaces in a password when double clicked at the starting and end of the text even when setEchoChar() is set.
-------------------------------------------------------------------------------------------------------
Steps to Reproduce:
1. Run java/awt/TextField/SetEchoCharWordOpsTest.java
2. Double click at the start and the end of the text field containing *.
Expected behavior: It should NOT allow highlighting the last or first words or it should not reveal that whether a space is there in the password or not.
Actual behavior: It is highlighting the first and last words which will potentially allow to identify the number of words in a password and the length of each word.
Test Suite: Regression
Test: java/awt/TextField/SetEchoCharWordOpsTest.java
Description: java.awt.TextField allows to identify the spaces in a password when double clicked at the starting and end of the text even when setEchoChar() is set.
-------------------------------------------------------------------------------------------------------
Steps to Reproduce:
1. Run java/awt/TextField/SetEchoCharWordOpsTest.java
2. Double click at the start and the end of the text field containing *.
Expected behavior: It should NOT allow highlighting the last or first words or it should not reveal that whether a space is there in the password or not.
Actual behavior: It is highlighting the first and last words which will potentially allow to identify the number of words in a password and the length of each word.
- backported by
-
JDK-8366169 java.awt.TextField allows to identify the spaces in a password when double clicked at the starting and end of the text
-
- Resolved
-
- relates to
-
JDK-8358813 JPasswordField identifies spaces in password via delete shortcuts
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk25u/4d68cf05
-
Commit(master) openjdk/jdk/8d33ea73
-
Review(master) openjdk/jdk25u/133
-
Review(master) openjdk/jdk/25443
(1 links to)