On Tue, 10 Nov 2026 16:39:58 GMT, Kevin Rushforth <[email protected]> wrote:

> This fix has caused a regression where non-inherited properties can be 
> mistakenly reset to their default when `inheritOnly` is true.

While looking into this, I found what might be another, unrelated regression:

Because the reset now iterates `cssSetProperties`, it can mistakenly use 
metadata associated with a now-removed skin applying the operations to the new 
skin. If the new skin is null, this can cause an NPE. If the new skin is not 
null, it could misbehave or run needlessly.

I have not validated this finding. I also note that this is a bit of a corner 
case.

If this turns out to be an actual regression, we can file a follow-up bug.

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

PR Comment: https://git.openjdk.org/jfx/pull/2343#issuecomment-6773543030

Reply via email to