There is no workaround for JDK-8324327
PavelTurk
pavelturk2000 at gmail.com
Thu May 9 14:56:12 UTC 2024
Hello all.
This is about https://bugs.openjdk.org/browse/JDK-8324327 .
Andy Goryachev wrote in comment "Change to the default constructor and the issue disappears".
I don't see that using default constructor solves the problem. I tried the following code :
public class JavaFxTest7 extends Application {
public static void main(String[] args) {
launch(args);
}
@Override
public void start(Stage primaryStage) {
VBox root = new VBox();
ColorPicker picker = new ColorPicker();
root.getChildren().addAll(picker);
var scene = new Scene(root, 400, 300);
primaryStage.setScene(scene);
primaryStage.show();
}
}
and I have the same bug.
JavaFX: 23-ea+3
Java: 21.0.2
OS: Ubuntu 20.04.3 LTS
So, ColorPicker is always broken.
Best regards, Pavel
More information about the openjfx-dev
mailing list