RFR: 8296878: Document Filter attached to JPasswordField and setText("") is not cleared instead inserted characters replaced with unicode null characters
Alexey Ivanov
aivanov at openjdk.org
Mon Nov 28 21:37:18 UTC 2022
On Tue, 22 Nov 2022 03:15:55 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
> The usage of DocumentFilter in the JPasswordField is excluded from the [JDK-8258373](https://bugs.openjdk.org/browse/JDK-8258373). That will be responsibility of the application to cleanup the password if DocumentFilter is set.
Marked as reviewed by aivanov (Reviewer).
And `DocumentFilter` needs to be implemented carefully so that the entered password is never converted to `String`.
-------------
PR: https://git.openjdk.org/jdk/pull/11281
More information about the client-libs-dev
mailing list