Thread checks in Glass
petr.pchelko at oracle.com
Mon Jul 22 02:06:14 PDT 2013
FX is a single threaded UI toolkit. Well written FX applications should not access FX objects from outside the UI thread. There are exceptions to this rule and these are well documented. Documentation is great, but enforcing thread checks in code is better. Glass (the underlying native window toolkit portability layer for FX) is being changed to ensure it is accessed from the UI thread. This is goodness. Many threading issues in FX, Quantum and Prism have been found and fixed as a result of this change.
You can follow progress in https://javafx-jira.kenai.com/browse/RT-26891
Petr & Steve
More information about the openjfx-dev