Glass thread checks

steve.x.northover at oracle.com steve.x.northover at oracle.com
Thu Aug 8 06:48:10 PDT 2013


To give a little more context.  JavaFX is apartment threaded with well 
documented rules for threaded.  These rules were not enforced in code.  
Glass, the low level window component for FX is not enforcing apartment 
threading.  Since Glass has no public API, the only way that an 
application can be affected is if it is coded such that it access Glass 
through FX from a non-UI thread.  FX itself contained code some code 
that did this this code has been fixed.

Thread checking is goodness and leads to consistent applications with 
repeatable behavior.  Thread checking in Glass is a good first step 
forward in this area.

Steve

On 08/08/2013 9:33 AM, Petr Pchelko wrote:
> Hello, OpenJFX Team.
>
> As you know, the previous attempt to switch on the thread checks have failed.
> The problems were fixed, so I'm going to enable them again tomorrow morning if nobody objects.
>
> With best regards. Petr.



More information about the openjfx-dev mailing list