git: openjdk/jdk: 8296878: Document Filter attached to JPasswordField and setText("") is not cleared instead inserted characters replaced with unicode null characters

Sergey Bylokhov serb at openjdk.org
Wed Nov 30 03:26:09 UTC 2022


Changeset: 87f00f4a
Author:    Sergey Bylokhov <serb at openjdk.org>
Date:      2022-11-30 03:22:52 +0000
URL:       https://git.openjdk.org/jdk/commit/87f00f4a1bfb392be0684edcdfa0254caec4ca03

8296878: Document Filter attached to JPasswordField and setText("") is not cleared instead inserted characters replaced with unicode null characters

Reviewed-by: prr, aivanov

! src/java.desktop/share/classes/javax/swing/JPasswordField.java
+ test/jdk/javax/swing/JPasswordField/OldPasswordInDocumentFilter.java



More information about the jdk-changes mailing list