On Tue, 7 Feb 2023 22:49:55 GMT, Alexander Zuev <kiz...@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 <kiz...@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

Reply via email to