RFR: 8377904: Replace Double.parseDouble() with CssNumberParser
Andy Goryachev
angorya at openjdk.org
Wed Feb 25 15:54:00 UTC 2026
On Wed, 25 Feb 2026 00:33:09 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:
> Replace occurrences of `Double.parseDouble()` with `CssNumberParser.parseDouble()` in CSS-related code.
>
> As with #2069, the specification of JavaFX CSS is not changed.
>
> There are no new tests, because the existing tests already cover all affected code paths.
I think we ought to note that this PR changes whitespace interpretation (trim() -> isWhitespace), even though it's unlikely to have any practical impact.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/2087#issuecomment-3960243790
More information about the openjfx-dev
mailing list