On Tue, 22 Nov 2022 03:15:55 GMT, Sergey Bylokhov <s...@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

Reply via email to