On Wed, 1 Feb 2023 15:11:57 GMT, Glavo <d...@openjdk.org> wrote: > I have considered this, but I didn't make this change because I was worried > that there would be less descriptive information when null was encountered.
I think it's fine. The method is documented to throw and it happens immediately on entry. NPEs don't always have a message since they are straightforward. ------------- PR: https://git.openjdk.org/jfx/pull/1012