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

Kevin Rushforth kcr at openjdk.org
Sat Nov 12 15:11:28 UTC 2022


On Fri, 11 Nov 2022 11:29:27 GMT, Ajit Ghaisas <aghaisas at openjdk.org> wrote:

> > Then the underlying problem should probably be filed as a new JBS issue, especially since the exception doesn't communicate the cause of the problem to application developers who run into the same issue.

I agree.

> Since, there is no visual indication of the underlying problem (if any), it is hard to file a reproducible issue once the exception is fixed. On the other hand, we do not wish to keep this exception from occurring if it can be fixed with a simple initialization.

Since we aren't fixing anything in the code, but rather working around the problem with a change to `modena.css`, it should still be possible to reproduce this in a test that uses a custom stylesheet.

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

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


More information about the openjfx-dev mailing list