Ticket #236 (closed defect: fixed)
Threading issues of aspect negotiators
| Reported by: | stephan | Owned by: | stephan |
|---|---|---|---|
| Priority: | major | Milestone: | OTDT_1.2.8 |
| Component: | otequinox | Version: | 1.2.7 |
| Keywords: | Cc: |
Description
In the current implementation (approaching the 1.2.8 release), using the AspectAsker or similar aspect negotiators can cause threading issues:
- for solving #202 I introduced a new thread for instantiating teams while processClass tries to wait for the new thread's completion.
- this solution is not 100% safe, meaning that individual aspect bindings could fail to adapt some early executed base code, if load-order is unfortunate.
- the AspectAsker needs access to the SWT display, but if triggered from a new thread, this will cause errors like Illegal thread access or Not implemented [multiple displays] from SWT.
- attempts to force initialization of the workspace location as early as possible made some plugins like org.eclipse.jface un-adaptable.
Change History
Note: See
TracTickets for help on using
tickets.
all news
RSS feed