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

Bug 329922

Summary: StreamHanderFactory should be very careful to not throw errors or runtime exceptions
Product: [Eclipse Project] Equinox Reporter: Thomas Watson <tjwatson>
Component: FrameworkAssignee: Thomas Watson <tjwatson>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: simon_kaegi
Version: 3.7   
Target Milestone: 3.7 M4   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Thomas Watson CLA 2010-11-10 11:41:54 EST
There are cases where I have seen the StreamHandlerFactory throw errors or runtime exceptions.  Most of the time this is some kind of recursive call into the handler, like bug303842.

We should likely be more careful and catch all throwables in org.eclipse.osgi.framework.internal.protocol.StreamHandlerFactory.createURLStreamHandler(String) and log the error and return null to let the VM try to find a built-in URL handler.  Otherwise we completely blow up.
Comment 1 Thomas Watson CLA 2010-11-19 16:20:43 EST
Fixed in head.