-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove org.eclipse.ecf.ssl fragment from the Eclipse IDE #2725
Comments
You mention just the fragment Given that the only ECF-specific subclass of javax.net.ssl.SSLSocketFactory that I see is org.eclipse.ecf.internal.ssl.ECFSSLSocketFactory the ECFURLConnectionModifier class is maybe worse than useless. A connection modifier appears to be used only from URLFileSystemBrowser.runRequest() but that class is used only when there is no more specific provider present for the protocol. For http and https different implementation classes are used without using the modifier. And then the support only works for httpsURLConnection for which we are not even using the URLFileSystemBrowser All that would explain why it's just never used. So I assume it is safe to assume that we should be removing references to all of the following:
|
Even when I tried running with that class present, ECFURLConnectionModifier.setSocketFactoryForConnection(URLConnection) was never called. The explanation for this is the URLConnectionModifier was used with old providers (prior to the ones that are used/tested now), and the maintenance to remove these classes was never done by the provider authors (nor me).
Yeah...now it is.
...now. It was used 5+ years ago...and I believe there is unused code that references it in both httpclient5 and jreproviders...as the classes were (mostly) copied from previously provider impls based upon httpclient4.5,4,3.
That would be my assumption too. I've done no testing on that, however. |
As per the investigation described in comments on this issue:
eclipse/ecf#140
the org.eclipse.ecf.ssl fragment should be removed from the Eclipse IDE.
The text was updated successfully, but these errors were encountered: