Code Review 6987461: Handle leak when enabling java.net.useSystemProxies

Chris Hegarty chris.hegarty at oracle.com
Wed Sep 29 03:04:52 PDT 2010


Michael,

There is a leak in the windows version of the default proxy selector 
implementation. If no proxy is enabled on the system, i.e. 
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet 
Settings\ProxyEnable = 0, then the handle to the registry key is never 
released.

Webrev:
   http://cr.openjdk.java.net/~chegar/6987461/webrev.00/webrev/

Thanks,
-Chris.



More information about the net-dev mailing list