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

Bug 348805

Summary: Calling ResolverHook.end in failure case
Product: [Eclipse Project] Equinox Reporter: Thomas Watson <tjwatson>
Component: FrameworkAssignee: Thomas Watson <tjwatson>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.7   
Target Milestone: Juno M1   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
patch + tests none

Description Thomas Watson CLA 2011-06-08 16:57:38 EDT
The ResolverHook.end method should be called for all valid hooks instances still participating in a resolve process even if an exception was thrown from the hook.  The current implementation never calls end if there is an error that causes the resolve process to terminate unexpectedly.
Comment 1 Thomas Watson CLA 2011-06-09 16:04:41 EDT
*** Bug 348806 has been marked as a duplicate of this bug. ***
Comment 2 Thomas Watson CLA 2011-06-09 16:07:41 EDT
Created attachment 197728 [details]
patch + tests

Note that this patch also fixes the issue in bug 348806 for failing a resolve operation if end() throws an exception.
Comment 3 Thomas Watson CLA 2011-06-09 16:09:05 EDT
Patch released.