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

Bug 322563

Summary: [Compatibility] Part initialization failures prevent disposal from happening
Product: [Eclipse Project] e4 Reporter: Remy Suen <remy.suen>
Component: UIAssignee: Remy Suen <remy.suen>
Status: RESOLVED FIXED QA Contact: Remy Suen <remy.suen>
Severity: normal    
Priority: P3    
Version: 1.0   
Target Milestone: 4.1 M2   
Hardware: All   
OS: All   
Whiteboard:

Description Remy Suen CLA 2010-08-12 13:26:43 EDT
CompatibilityPart needs to guard against initialization failures and still let the part get constructed so that it will get disposed properly. Otherwise, leaks can happen. For example, an editor action bar is leaked during the opening and closing of the SSE editor in bug 318034 which allows the second request to complete successfully.
Comment 1 Remy Suen CLA 2010-08-16 13:14:16 EDT
We should be handling exceptions appropriately now.