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

Bug 330515

Summary: [Help] Fix in 3.6.2 Remote Help HTTPS support is setting java.protocol.handler.pkgs=javax.net.ssl
Product: [Eclipse Project] Platform Reporter: Chris Goldthorpe <cgold>
Component: User AssistanceAssignee: Chris Goldthorpe <cgold>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: P3 CC: cgold, ChrisAustin, rwatts, tjwatson
Version: 3.6.1   
Target Milestone: 3.6.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 329280    
Bug Blocks:    

Description Chris Goldthorpe CLA 2010-11-17 15:00:12 EST
+++ This bug was initially created as a clone of Bug #329280 +++

The fix for Bug #227252 introduced a serious regression - org.eclipse.help.internal.base.remote.HttpsUtility.getHttpsInputStream(String, String, String, String, String) contains the line 

System.setProperty( "java.protocol.handler.pkgs" , "javax.net.ssl" ); //$NON-NLS-1$ //$NON-NLS-2$
	         
This has the side effect of changing the protocol handler throughout the entire application, not just Eclipse, which can cause this kind of an exception ( this was on Solaris ) when running any code that causes the java protocol handler to be invoked.

java.lang.RuntimeException: java.net.MalformedURLException: unknown protocol: https
Comment 1 Chris Goldthorpe CLA 2010-11-17 19:40:42 EST
The patch from Bug #329280 has been applied to the maintenance stream.