From 733d17265f70d3a2a3e2f0d92f6f5e36f448b95e Mon Sep 17 00:00:00 2001 From: Martino Facchin Date: Fri, 25 Jan 2019 09:32:20 +0100 Subject: [PATCH] TEST: fix proxies not being applied Should fix https://github.com/arduino/Arduino/issues/7573 Based on the suggestions from https://stackoverflow.com/questions/41806422/java-web-start-unable-to-tunnel-through-proxy-since-java-8-update-111 --- app/src/processing/app/Base.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/processing/app/Base.java b/app/src/processing/app/Base.java index e487231d52e..932162cd4f6 100644 --- a/app/src/processing/app/Base.java +++ b/app/src/processing/app/Base.java @@ -138,6 +138,8 @@ static public void main(String args[]) throws Exception { System.setProperty("swing.aatext", "true"); } System.setProperty("java.net.useSystemProxies", "true"); + System.setProperty("jdk.http.auth.proxying.disabledSchemes", ""); + System.setProperty("jdk.http.auth.tunneling.disabledSchemes", ""); if (OSUtils.isMacOS()) { System.setProperty("apple.laf.useScreenMenuBar",