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. This pull request has now been integrated. Changeset: 87f00f4a Author: Sergey Bylokhov <s...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/87f00f4a1bfb392be0684edcdfa0254caec4ca03 Stats: 94 lines in 2 files changed: 79 ins; 2 del; 13 mod 8296878: Document Filter attached to JPasswordField and setText("") is not cleared instead inserted characters replaced with unicode null characters Reviewed-by: prr, aivanov ------------- PR: https://git.openjdk.org/jdk/pull/11281