| Summary: | [Display] verify that thread is valid in checkDevice | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Rüdiger Herrmann <ruediger.herrmann> |
| Component: | Demo | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | ||
| Version: | 1.0 | ||
| Target Milestone: | 1.3 M3 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Fixed in CVS HEAD |
the current implementation of Display#checkDevice() does only check whether the Display is disposed. In additionit should be checked that the invoking thread is the UI thread. e.g. if( thread != Thread.currentThread() ) { error( SWT.ERROR_THREAD_INVALID_ACCESS ); }