RFR 8168069 : X509TrustManagerImpl causes ClassLoader leaks with unparseable extensions
Xuelei Fan
xuelei.fan at oracle.com
Fri Feb 8 20:26:06 UTC 2019
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