On Mon, 12 Jan 2026 14:11:48 GMT, Christopher Schnick <[email protected]> 
wrote:

> This PR replaces various catch blocks for NPEs by proper null checks. It 
> looks like a lot but most of the binding changes are just variants of the 
> same approach. The test cases have been adapted to not check for NPEs anymore.
> 
> The PrismFontFactory change to a RuntimeException was made because I don't 
> see how the try block can throw an NPE.

This pull request has now been integrated.

Changeset: 77d46bb7
Author:    Christopher Schnick <[email protected]>
Committer: Andy Goryachev <[email protected]>
URL:       
https://git.openjdk.org/jfx/commit/77d46bb77476df346a04265155ab7da7c401da15
Stats:     429 lines in 9 files changed: 35 ins; 230 del; 164 mod

8375016: Several catch blocks for NullPointerExceptions exist in the codebase

Reviewed-by: angorya, mhanl

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

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

Reply via email to