Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2012-11-30 08:26:47 -0500
committerThomas Watson2012-11-30 08:26:47 -0500
commitf74a07a62f197838965e7bc6637e48f25fc16fc7 (patch)
tree322ed3f1f57fb66ae090a1ce96ac028483f5e03c
parent91f77a987d33898b72c707ee5404f2585c717401 (diff)
downloadrt.equinox.framework-R3_7_maintenance.tar.gz
rt.equinox.framework-R3_7_maintenance.tar.xz
rt.equinox.framework-R3_7_maintenance.zip
Bug 393787 - MultiplexingURLStreamHandler throw IllegalStateExceptionv20121130-083000R3_7_maintenance
when nothing on stack is from a bundle class loader
-rw-r--r--bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/protocol/MultiplexingFactory.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/protocol/MultiplexingFactory.java b/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/protocol/MultiplexingFactory.java
index 648292324..990714631 100644
--- a/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/protocol/MultiplexingFactory.java
+++ b/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/protocol/MultiplexingFactory.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2006, 2010 Cognos Incorporated, IBM Corporation and others.
+ * Copyright (c) 2006, 2012 Cognos Incorporated, IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -135,7 +135,10 @@ public abstract class MultiplexingFactory {
}
}
}
- return null;
+ // Instead of returning null here, this factory is returned;
+ // This means the root factory may provide protocol handlers for call stacks
+ // that have no classes loaded by an bundle class loader.
+ return this;
}
public boolean hasAuthority(Class<?> clazz) {

Back to the top