Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370258 - [R5] Clarification for calls to ResolverHook.end
Summary: [R5] Clarification for calls to ResolverHook.end
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Framework (show other bugs)
Version: 3.8.0 Juno   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: Juno M6   Edit
Assignee: Thomas Watson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-31 13:33 EST by Thomas Watson CLA
Modified: 2012-01-31 15:31 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Watson CLA 2012-01-31 13:33:34 EST
The OSGi R5 specification has a few clarifications for calling ResolverHook.end when exceptions are thrown by resolver hooks.

More text is being added to the specification to clarify that an exception from
any hook method, including end, will terminate the resolve operation. 

If begin method successfully returns a ResolverHook,
then end must always be called on that hook for normal and abnormal termination
of the resolve process. 

However, if the hook is made invalid because its creating ResolverHookFactory
service has been unregistered, then end must not be called.