On Thu, 10 Nov 2022 20:20:33 GMT, Michael Strauß <mstra...@openjdk.org> wrote:

> Isn't it a bit strange that a valid CSS file would produce a 
> `ClassCastException` in the first place?
> Maybe that should be fixed in the CSS subsystem instead.

The exception is benign: it tries to resolve a derived color which depends on 
something that has not been resolved yet, but will eventually get resolved.  
Like an isolated TableCell trying to applyCSS prior to its inclusion in a 
TableView.

Trying to fix the CSS subsystem is much, much heavier task.  Given the fact 
that the issue causes no visual effects whatsoever I'd say it's not worth the 
trouble.

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

PR: https://git.openjdk.org/jfx/pull/947

Reply via email to