RFR: JDK-7122887 - JDK ignores Gnome3 proxy settings

Dan Xu dan.xu at oracle.com
Tue Oct 22 12:30:40 PDT 2013


Hi All,

Please review the fix towards gnome proxy settings. In the recent Gnome 
versions, it has phased out GConf and swithed to use GSettings to handle 
all the system configurations. But in JDK, we are still use GConf-based 
proxy resolution, which generates wrong results in the latest linux 
distributions. In this change, I added a new way to resolve proxy 
correctly, which makes use of GProxyResolver to handle newwork proxy 
resolution. It is based on GSettings, so every time proxy changed in the 
GSettings, it will catch that  and give the updated results. In 
addition, it can also handle proxy ignore pattern correctly. For 
example, it can handle not only plain domain name pattern, like 
domain.com, but it can also handle more complex patterns, like 
*.domain.com, IPv4/CIDR (like 127.0.0.1/8), IPv6/CIDR, etc.

The code changes have been tested manually. Here are the bug details and 
webrev changes.

Bug: https://bugs.openjdk.java.net/browse/JDK-7122887
webrev: http://cr.openjdk.java.net/~dxu/7122887/webrev.00/

Thanks,

-Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/net-dev/attachments/20131022/5e5a2c66/attachment.html 


More information about the net-dev mailing list