[jdk20] Integrated: 8301989: new javax.swing.text.DefaultCaret().setBlinkRate(N) results in NPE

Alexander Zuev kizune at openjdk.org
Wed Feb 8 23:58:53 UTC 2023


On Tue, 7 Feb 2023 22:49:55 GMT, Alexander Zuev <kizune at openjdk.org> wrote:

> Check if the component is associated with the caret before calling methods from it. Added test case that will make sure that will not happen again.

This pull request has now been integrated.

Changeset: e81f20b5
Author:    Alexander Zuev <kizune at openjdk.org>
URL:       https://git.openjdk.org/jdk20/commit/e81f20b50405dc02963c8bf549000c60e78152d8
Stats:     49 lines in 2 files changed: 46 ins; 0 del; 3 mod

8301989: new javax.swing.text.DefaultCaret().setBlinkRate(N) results in NPE

Reviewed-by: dnguyen, honkar, prr

-------------

PR: https://git.openjdk.org/jdk20/pull/122



More information about the client-libs-dev mailing list