On Wed, 9 Sep 2026 01:36:07 GMT, Michael Strauß <[email protected]> wrote:

> When a binary stylesheet contains CSS transitions, deserialization fails with 
> errors similar to:
> 
> SEVERE: could not deserialize com.sun.javafx.css.TransitionDefinitionConverter
> 
> 
> The reason is that the `StyleConverter.getInstance(String)` factory used to 
> deserialize converters doesn't include the converters that were added to 
> support CSS transitions.
> 
> Additionally, easing functions are not serialized at all. Since those 
> functions can contain numbers (instead of `Size`), we need to extend the BSS 
> format to support direct serialization of numbers.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 0475c5bd
Author:    Michael Strauß <[email protected]>
URL:       
https://git.openjdk.org/jfx/commit/0475c5bdea2845d434fa03022c173129768c084e
Stats:     225 lines in 8 files changed: 185 ins; 11 del; 29 mod

8392013: CSS transition can not be deserialized

Reviewed-by: mhanl, angorya

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

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

Reply via email to