[9] Review request for 8032832: Applet/browser deadlocks, when IIS integrated authentication is used

Anton Litvinov anton.litvinov at oracle.com
Thu Mar 20 14:08:35 UTC 2014


Hello,

Could you please review the following fix for the bug, which consists in 
a deadlock between 2 threads sharing the same instance of 
"java.net.URLClassLoader" as the context class loader, calling 
"sun.net.www.protocol.http.NegotiateAuthentication.isSupported" method 
and loading a class file from the web server with the enabled 
"Negotiate" authentication.

Bug: https://bugs.openjdk.java.net/browse/JDK-8032832
Webrev: http://cr.openjdk.java.net/~alitvinov/8032832/jdk9/webrev.00

The fix is based on supplementing the method 
"sun.net.www.protocol.http.NegotiateAuthentication.isSupported" with the 
code locking on the instance of the class loader before existing locking 
on the class "sun.net.www.protocol.http.NegotiateAuthentication".

Thank you,
Anton


More information about the net-dev mailing list