This crash only happens on Linux, and runs fine on Mac and Windows (es2 pipe).
cyang@jadayang-desktop:~/java/javafx/210/jfx/rt-closed/toys/ColorCube$ jjfx -Dprism.order=es2 colorcube/JFXPanelColorCube
createScene: calling Platform.runLater
Platform.runLater :: run
PlatformImpl.runLater returns
The program '<unknown>' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 0 error_code 3 request_code 128 minor_code 16)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)