-
Bug
-
Resolution: Fixed
-
P4
-
fx2.0
Quantum implementation of 'exit()' method causes NPE beacuse of accessing to not-initialized 'pulseTimer' variable.
Sample test code:
---------8<------------
import javafx.application.Application;
import javafx.application.Platform;
import javafx.stage.Stage;
public class PlatformExit extends Application {
@Override
public void start(Stage primaryStage) throws Exception {
}
public static void main(String[] args) {
Platform.exit();
}
}
--------->8------------
Sample test code:
---------8<------------
import javafx.application.Application;
import javafx.application.Platform;
import javafx.stage.Stage;
public class PlatformExit extends Application {
@Override
public void start(Stage primaryStage) throws Exception {
}
public static void main(String[] args) {
Platform.exit();
}
}
--------->8------------
- is blocked by
-
JDK-8111008 Need to call Application stop and destroy methods as part of application life cycle
- Closed