Re: JavaFX testability of Control

2025-11-29 Thread mariushanl
Gesendet: Freitag, 28. November 2025 um 21:02 Von: "John Hendrikx" An: OpenJFX Betreff: JavaFX testability of Control I'm seeing something odd in Control.  It tries to initialize the default platform user agent stylesheet in a static initializer.  This makes any subclass of Control h

JavaFX testability of Control

2025-11-28 Thread John Hendrikx
I'm seeing something odd in Control.  It tries to initialize the default platform user agent stylesheet in a static initializer.  This makes any subclass of Control hard to test (as a unit) as it will try to initialize the entire JavaFX platform.  I see little need for this.  The stylesheet is loa