RFR 8168069 : X509TrustManagerImpl causes ClassLoader leaks with unparseable extensions

Xuelei Fan xuelei.fan at oracle.com
Wed Feb 20 18:41:54 UTC 2019

ping ...

On 2/8/2019 12:26 PM, Xuelei Fan wrote:
> Hi,
> Could I get the following update reviewed?
>     http://cr.openjdk.java.net/~xuelei/8168069/webrev.00/
> In the lazy initialization holder in SSLContextImpl, an exception is 
> reserved as static in order to check if the holder is initialized 
> properly.  If the exception had a strong referent to some object, the 
> object will be out of the cycle of garbage collection.
> With this update, the original exception is debug logged, and a new 
> exception with the same exception message as the original one.
> Code cleanup, no new regression test.
> Thanks & Regards,
> Xuelei

More information about the security-dev mailing list