Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2011-02-05 03:36:45 +0000
committerspingel2011-02-05 03:36:45 +0000
commit67cb3668771fa16f4a447e9d5eab567be39b6d58 (patch)
tree698f6732e35c2fd7141836b5c0792f4e9e6f1b35 /org.eclipse.mylyn.commons.tests
parent59ef016e3725eaa217731708647bd16590d56318 (diff)
downloadorg.eclipse.mylyn.commons-67cb3668771fa16f4a447e9d5eab567be39b6d58.tar.gz
org.eclipse.mylyn.commons-67cb3668771fa16f4a447e9d5eab567be39b6d58.tar.xz
org.eclipse.mylyn.commons-67cb3668771fa16f4a447e9d5eab567be39b6d58.zip
RESOLVED - bug 335097: activate manual proxy configuration when system proxy settings are not available
https://bugs.eclipse.org/bugs/show_bug.cgi?id=335097
Diffstat (limited to 'org.eclipse.mylyn.commons.tests')
-rw-r--r--org.eclipse.mylyn.commons.tests/src/org/eclipse/mylyn/commons/tests/support/ManagedTestSuite.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.commons.tests/src/org/eclipse/mylyn/commons/tests/support/ManagedTestSuite.java b/org.eclipse.mylyn.commons.tests/src/org/eclipse/mylyn/commons/tests/support/ManagedTestSuite.java
index 3313aac1..10ea9c02 100644
--- a/org.eclipse.mylyn.commons.tests/src/org/eclipse/mylyn/commons/tests/support/ManagedTestSuite.java
+++ b/org.eclipse.mylyn.commons.tests/src/org/eclipse/mylyn/commons/tests/support/ManagedTestSuite.java
@@ -163,10 +163,13 @@ public class ManagedTestSuite extends TestSuite {
private static void dumpSystemInfo() {
if (Platform.isRunning() && CommonsNetPlugin.getProxyService() != null
- && !CommonsNetPlugin.getProxyService().isSystemProxiesEnabled()) {
+ && CommonsNetPlugin.getProxyService().isSystemProxiesEnabled()
+ && !CommonsNetPlugin.getProxyService().hasSystemProxies()) {
// XXX e3.5/gtk.x86_64 activate manual proxy configuration which
// defaults to Java system properties if system proxy support is
// not available
+ System.err.println("Forcing manual proxy configuration");
+ CommonsNetPlugin.getProxyService().setSystemProxiesEnabled(false);
CommonsNetPlugin.getProxyService().setProxiesEnabled(true);
}

Back to the top