Community
Participate
Working Groups
Similar to Bug 442285 and Bug 441120 but for PartRenderingEngine.
I'll try to fix this.
https://git.eclipse.org/r/41415
New Gerrit change created: https://git.eclipse.org/r/41415
Gerrit change https://git.eclipse.org/r/41415 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=b523189149eb20a25b055578706cadaf2bab4c9c
Thanks Philip.
This did introduce a Bug in CSS switching See Bug 462056.
Before this change, the EventBroker would wrap the EventHandler in a UIEventHandler, which would make sure the event is handled in a Runnable on the UI thread. After this change, the dependency injection callback is wrapped in a DIEventHandler, which executes in whatever thread triggered the event. In our project we had a few instances where IWorkbenchPage.closeEditor() was (incorrectly) called from a WorkbenchModifyOperation (non-UI thread), and it used to work anyways because the bug was hidden by the use of the UIEventHandler. Now in 4.5 it triggers a SWTException (Invalid thread access), and we only noticed this today and fixed our code just in time for Mars release. So I would just like to make sure that the platform is intentionally no longer meant to safeguard against this invalid thread access like the EventBroker used to do when subscribing events?