RFR: 8346227: Seal Paint and Material [v2]

Kevin Rushforth kcr at openjdk.org
Fri Dec 20 18:25:44 UTC 2024


On Wed, 18 Dec 2024 18:03:59 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

>> Yes, that would make the callsite a bit easier. However, from an API perspective, I think it's not the best approach to handle nulls in the toolkit layer. A system that channels nulls thorugh various layers tends to become harder to reason about over time.
>
> I disagree: it makes it more resilient by doing what the caller has to do anyway.
> However, the answer is acceptable.

Btw, even if we did decide to change it in the future, we wouldn't do it as part of this PR.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1665#discussion_r1890642221


More information about the openjfx-dev mailing list