Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330515 - [Help] Fix in 3.6.2 Remote Help HTTPS support is setting java.protocol.handler.pkgs=javax.net.ssl
Summary: [Help] Fix in 3.6.2 Remote Help HTTPS support is setting java.protocol.handle...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 3.6.1   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: 3.6.2   Edit
Assignee: Chris Goldthorpe CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 329280
Blocks:
  Show dependency tree
 
Reported: 2010-11-17 15:00 EST by Chris Goldthorpe CLA
Modified: 2010-11-17 19:40 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.