ADDITIONAL SYSTEM INFORMATION :
Windows 10 (1903) May 2019 Update
A DESCRIPTION OF THE PROBLEM :
Given a certain combination of Stage initialization parameters, JavaFX 8 fails to create Stage in Windows 10 (1903). Entire Windows may hang and JVM must be killed from TaskManager in Windows
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run the test case (small Application)
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The Stage is shown.
ACTUAL -
Windows hangs
---------- BEGIN SOURCE ----------
package com.community.test.win10_1903;
import java.io.IOException;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;
import javafx.stage.StageStyle;
public class Win10_1903Test extends Application {
public Win10_1903Test() {
}
@Override
public void start(Stage primaryStage) throws IOException {
VBox vbox = new VBox();
vbox.setPrefHeight(200);
vbox.setPrefWidth(300);
Scene scene = new Scene(vbox);
primaryStage.setTitle("Win10_1903Test");
primaryStage.setScene(scene);
primaryStage.setFullScreen(true);
/* THIS IS THE OFFENDING LINE */
primaryStage.initStyle(StageStyle.UNDECORATED);
primaryStage.show();
}
public static void main(String[] args) {
launch(args);
}
}
---------- END SOURCE ----------
FREQUENCY : always
Windows 10 (1903) May 2019 Update
A DESCRIPTION OF THE PROBLEM :
Given a certain combination of Stage initialization parameters, JavaFX 8 fails to create Stage in Windows 10 (1903). Entire Windows may hang and JVM must be killed from TaskManager in Windows
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run the test case (small Application)
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The Stage is shown.
ACTUAL -
Windows hangs
---------- BEGIN SOURCE ----------
package com.community.test.win10_1903;
import java.io.IOException;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;
import javafx.stage.StageStyle;
public class Win10_1903Test extends Application {
public Win10_1903Test() {
}
@Override
public void start(Stage primaryStage) throws IOException {
VBox vbox = new VBox();
vbox.setPrefHeight(200);
vbox.setPrefWidth(300);
Scene scene = new Scene(vbox);
primaryStage.setTitle("Win10_1903Test");
primaryStage.setScene(scene);
primaryStage.setFullScreen(true);
/* THIS IS THE OFFENDING LINE */
primaryStage.initStyle(StageStyle.UNDECORATED);
primaryStage.show();
}
public static void main(String[] args) {
launch(args);
}
}
---------- END SOURCE ----------
FREQUENCY : always
- duplicates
-
JDK-8225634 JDK-8225502, happens on Touch Screen
-
- Closed
-