RFR: 8375016: Several catch blocks for NullPointerExceptions exist in the codebase [v2]
Christopher Schnick
duke at openjdk.org
Mon Jan 12 19:37:59 UTC 2026
On Mon, 12 Jan 2026 17:21:53 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
>> Ok that is true, let me rework this PR
>
> I agree, the change is not equivalent...
Ok, this should be fixed. I centralized the map exception handling in a separate method to avoid duplication.
It now catches all Map.get() exceptions in case someone is using some weird custom map implementation.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/2032#discussion_r2683620998
More information about the openjfx-dev
mailing list