RFR: 8291853: [CSS] ClassCastException in CssStyleHelper calculateValue [v2]

Kevin Rushforth kcr at openjdk.org
Mon Nov 14 18:22:39 UTC 2022


On Thu, 10 Nov 2022 20:11:55 GMT, Andy Goryachev <angorya at 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

Let's do file a follow-up bug.

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

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


More information about the openjfx-dev mailing list