Community
Participate
Working Groups
When SystemRegistry.postEvent() is called from a Worker thread, an SWTException:invalid thread access happens. To reproduce the problem, uncomment corresponding code in DaytimeSubSytem.initializeSubSystem(). SystemRegistry.postEvent() should work from any thread, API doc should document this. I think the bug is either in SystemView.getShell() where the underlying SWT tree is asked for the shell, or in SystemPostableEventNotifier.SystemPostableEventNotifier() where the Display is obtained from the Listener, instead of just taking Display.getDefault().
I've changed this to use Display.getDefault();
[target cleanup] 1.0 M4 was the original target milestone for this bug