On Sat, 14 Sep 2024 07:02:33 GMT, Nir Lisker <nlis...@openjdk.org> wrote:

>> Interpolation with `null` is not possible: `Interpolatable.interpolate(T, 
>> double)` is specified to throw NPE when `null` is passed in. When a 
>> styleable property transitions from a null value to a non-null value, it 
>> always transitions as discrete (i.e. is switches at the 50% mark) and 
>> doesn't use `Interpolatable.interpolate`.
>
> So when will these checks fail?

They will never fail as currently implemented. I just added them as 
documentation for future maintainers.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1522#discussion_r1759684905

Reply via email to