RFR [13] JDK-8221882: Use fiber-friendly java.util.concurrent.locks in JSSE

Alan Bateman Alan.Bateman at oracle.com
Thu Apr 4 07:36:27 UTC 2019


On 03/04/2019 20:33, Xuelei Fan wrote:
> :
>
> new webrev (remove update for HttpsClient.java):
>    http://cr.openjdk.java.net/~xuelei/8221882/webrev.02/
In HttpsURLConnectionImpl it would be nice if delegate could be final - 
can the protected constructor marked "for plugin" be removed so this 
cleanup can be done?

Does SSLContext.getInstance("Default") always return the same object? If 
not then SSLContext.getDefault() may need further work to guarantee that 
it returns the same default SSLContext object (you can use a var handle 
to CAS the default instance).

The rest looks okay to me.

-Alan



More information about the security-dev mailing list