Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 349441

Summary: Check for UIThread in RWT#getRequest, #getResponse, #getServiceStore and #requestThreadExec
Product: [RT] RAP Reporter: Rüdiger Herrmann <ruediger.herrmann>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 1.5 M1   
Hardware: All   
OS: All   
Whiteboard:

Description Rüdiger Herrmann CLA 2011-06-15 10:00:06 EDT
These methods must only be called from the UIThread. We should add a check to enforce this restriction.
Comment 1 Rüdiger Herrmann CLA 2011-06-20 07:48:26 EDT
In case one of the above mentioned methods is called from a background thread without a session context attached or outside the request life cycle an SWTException is thrown.
Changes are in CVS HEAD.