RFR: 8291853: [CSS] ClassCastException in CssStyleHelper calculateValue [v2]
Andy Goryachev
angorya at openjdk.org
Thu Nov 10 20:11:55 UTC 2022
> 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
-------------
Changes:
- all: https://git.openjdk.org/jfx/pull/947/files
- new: https://git.openjdk.org/jfx/pull/947/files/bce67a30..8f03d459
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jfx&pr=947&range=01
- incr: https://webrevs.openjdk.org/?repo=jfx&pr=947&range=00-01
Stats: 6 lines in 1 file changed: 3 ins; 3 del; 0 mod
Patch: https://git.openjdk.org/jfx/pull/947.diff
Fetch: git fetch https://git.openjdk.org/jfx pull/947/head:pull/947
PR: https://git.openjdk.org/jfx/pull/947
More information about the openjfx-dev
mailing list