Details
-
Bug
-
Resolution: Fixed
-
P5
-
8u20
-
Mac
Tested with 8u-dev Hudson build #783
Description
1. Run HelloLaunchOnNewThread on Mac (this may or may not be reproducible on other platforms).
2. Observe that only the following messages are printed initially:
**********************************************************************************************
Main thread exiting: currentThread=main
Calling Application.launch from currentThread=Thread-4
LAUNCHING...Constructor: currentThread=JavaFX Application Thread
init: currentThread=JavaFX-Launcher
start: currentThread=JavaFX Application Thread
**********************************************************************************************
3. The HelloRectangle comes up as expected and works fine.
4. After I press Cmd+Q to exit the app, I see the following output on the console:
**********************************************************************************************
cancel: currentThread=JavaFX Application Thread
DONE: elapsed time = 10522 msec
You should now see the 'HelloWorld' rectangle in the window
**********************************************************************************************
and then the app exits.
I'd expect to see the last line ("You should now see...") to be printed much earlier, when the HelloRectangle is actually displaying on the screen.
2. Observe that only the following messages are printed initially:
**********************************************************************************************
Main thread exiting: currentThread=main
Calling Application.launch from currentThread=Thread-4
LAUNCHING...Constructor: currentThread=JavaFX Application Thread
init: currentThread=JavaFX-Launcher
start: currentThread=JavaFX Application Thread
**********************************************************************************************
3. The HelloRectangle comes up as expected and works fine.
4. After I press Cmd+Q to exit the app, I see the following output on the console:
**********************************************************************************************
cancel: currentThread=JavaFX Application Thread
DONE: elapsed time = 10522 msec
You should now see the 'HelloWorld' rectangle in the window
**********************************************************************************************
and then the app exits.
I'd expect to see the last line ("You should now see...") to be printed much earlier, when the HelloRectangle is actually displaying on the screen.