On Thu, 10 Nov 2022 20:11:55 GMT, Andy Goryachev <ango...@openjdk.org> wrote:
>> A race condition exists where a derived color depends on another derived >> color which has not been yet defined or processed. The only side effect of >> this condition is a ClassCastException - the color eventually gets resolved. >> >> Solution: initialize the derived color to transparent earlier to suppress >> the exception. >> >> This was also a test bug https://bugs.openjdk.org/browse/JDK-8198604 > > Andy Goryachev has updated the pull request incrementally with one additional > commit since the last revision: > > 8291853: review comments 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. ------------- PR: https://git.openjdk.org/jfx/pull/947