classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] Do not invoke SSLSocketFactory.getDefault during class


From: Chris Burdess
Subject: Re: [cp-patches] Do not invoke SSLSocketFactory.getDefault during class initialization of HttpsURLConnection
Date: Tue, 11 Jan 2005 11:49:12 +0000

Michael Koch wrote:
This patch prevents the invocation of SSLSocketFactory.getDefault
during the class initialization of HttpsURLConnection, which causes
the SSLv3 algorithm to be requested even if it will not be used.

2005-01-11  Chris Burdess  <address@hidden>

         * javax/net/ssl/HttpsURLConnection.java: Do not request
SSLv3 provider during class initialization.

OK to commit?

Please add a comment to defaultVerifier and defaultFactory that they
are lazily initialized. Do we need to make the getters synchronized ?

I think so. Please review the attached patch.
--
Chris Burdess

Attachment: patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]