Enable system proxies by default on Linux?
mark.reinhold at oracle.com
mark.reinhold at oracle.com
Thu Sep 26 23:03:56 UTC 2019
2019/9/26 6:34:19 -0700, chris.hegarty at oracle.com:
>> On 25 Sep 2019, at 19:52, mark.reinhold at oracle.com wrote:
>>
>> Perhaps this is more a matter of test clean-up than anything else.
>
> For the tests I filed 8231504 - "Update networking tests to avoid
> implicit dependency on the system proxies”, which is currently out for
> review. It should clean up most of the accidental proxy dependencies.
Thanks!
>> I’ll make this change and run some tests ...
Well, if any of the jtreg networking tests still have dependencies on
system proxies then the machines in Oracle’s CI system must be set up
correctly. Yesterday I applied the following trivial patch, and the
resulting builds passed on all platforms.
Now, on to the JCK ...
- Mark
diff --git a/src/java.base/share/conf/net.properties b/src/java.base/share/conf/net.properties
--- a/src/java.base/share/conf/net.properties
+++ b/src/java.base/share/conf/net.properties
@@ -15,7 +15,7 @@
# (like http.proxyHost) do take precedence over the system settings
# even if java.net.useSystemProxies is set to true.
-java.net.useSystemProxies=false
+java.net.useSystemProxies=true
#------------------------------------------------------------------------
# Proxy configuration for the various protocol handlers.
More information about the net-dev
mailing list