As Per :
Tiger CCC 4923714 : DefaultProxySelector should pick up the underlying proxy settings from underlaying platform when is set.
Attached is the test case to test this feature.It has been noticed that this
works fine in GNOME(Solsparc) and Windows.
As documented in bugtraq . Here is what test case does:
1. Set the System Network Proxy settings on Linux with GNOME desktop machine.
2. Sets the Property java.net.useSystemProxies=true
3. gets the Proxy value. In this case the Proxy retrieved should be
Network Proxy for the GNOME desktop.
( NOTE: None of the proxies such as http.proxyHost are set in this case)
4. The Proxy retrieved is getting DIRECT in this case of Linux where as
windows and solsparc GNOME desktop the value is correctly retrieved.
So this bug is for Linux only should have the same expected behaviour as in case of windows and solsparc GNOMEs.
Attached is the test case , compile the attched files , set the network proxy on Linux GNOME and run the test.