Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2010-05-10 19:36:14 -0400
committerPascal Rapicault2010-05-10 19:36:14 -0400
commit8bbd1717a3b01b2aa072c09f21314baa85ed0c8c (patch)
tree3c7531854340c1e30a4cc0d4ce596ceb8209c95e /bundles/org.eclipse.equinox.p2.repository
parenta0c4475f2b1238268d018f4b35c3ecbe4531b202 (diff)
downloadrt.equinox.p2-8bbd1717a3b01b2aa072c09f21314baa85ed0c8c.tar.gz
rt.equinox.p2-8bbd1717a3b01b2aa072c09f21314baa85ed0c8c.tar.xz
rt.equinox.p2-8bbd1717a3b01b2aa072c09f21314baa85ed0c8c.zip
Bug 299022 - [transport][repository] Update silently fails when proxy settings are wrong
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.repository')
-rw-r--r--bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java b/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java
index 66e362f27..db511d26a 100644
--- a/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java
+++ b/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java
@@ -678,7 +678,7 @@ public abstract class AbstractRepositoryManager<T> implements IRepositoryManager
//eagerly cleanup missing system repositories
if (Boolean.valueOf(getRepositoryProperty(location, IRepository.PROP_SYSTEM)).booleanValue())
removeRepository(location);
- else if (failure == null || failure.getStatus().getCode() != ProvisionException.REPOSITORY_FAILED_AUTHENTICATION)
+ else if (failure == null || (failure.getStatus().getCode() != ProvisionException.REPOSITORY_FAILED_AUTHENTICATION && failure.getStatus().getCode() != ProvisionException.REPOSITORY_FAILED_READ))
rememberNotFound(location);
if (failure != null)
throw failure;

Back to the top