Could be related: https://bugs.openjdk.org/browse/JDK-8268657 https://bugs.openjdk.org/browse/JDK-8291853 (resolved)
-andy From: Jurgen Doll <[email protected]> Date: Wednesday, July 1, 2026 at 23:06 To: [email protected] <[email protected]> Subject: [External] : Re: JavaFX testability of Control I get something similar in my application as well: javafx.scene.CssStyleHelper calculateValue WARNING: Caught 'java.lang.ClassCastException: class java.lang.String cannot be cast to class javafx.scene.paint.Paint (java.lang.String is in module java.base of loader 'bootstrap'; javafx.scene.paint.Paint is in module [email protected] of loader 'platform')' while converting value for '-fx-border-color' from rule '*.table-cell' in stylesheet jrt:/javafx.controls/com/sun/javafx/scene/control/skin/caspian/caspian.bss I have a complex Dialog that I build once and show repeatedly. The above warning only appears on the 2nd and subsequent showing of the dialog, never the 1st. Jurgen
