Integrated: 8370253: CodeArea: NPE on copy

Andy Goryachev angorya at openjdk.org
Thu Oct 23 17:24:14 UTC 2025


On Tue, 21 Oct 2025 15:38:38 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> Fixes a missing `null` check in `CodeArea.copy()` when the `syntaxHighlighter` property is set. 
> 
> Also
> - made sure other callers check for null
> - removed dead code

This pull request has now been integrated.

Changeset: a4e4142a
Author:    Andy Goryachev <angorya at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/a4e4142a2b787cb51e20103d650e568eac8ed3cc
Stats:     91 lines in 3 files changed: 70 ins; 18 del; 3 mod

8370253: CodeArea: NPE on copy

Reviewed-by: kcr

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

PR: https://git.openjdk.org/jfx/pull/1942


More information about the openjfx-dev mailing list