aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkuppe2010-09-27 05:26:58 (EDT)
committermkuppe2010-09-27 05:26:58 (EDT)
commit0e184beca9dacdc26ec009dbc54be108a5c5723e (patch)
treed8b9289f89fa896564eba0084fe2d8be317fe5d7
parent61f44a7e133daca593d0fb8cec9427b50ac26347 (diff)
downloadorg.eclipse.ecf-0e184beca9dacdc26ec009dbc54be108a5c5723e.zip
org.eclipse.ecf-0e184beca9dacdc26ec009dbc54be108a5c5723e.tar.gz
org.eclipse.ecf-0e184beca9dacdc26ec009dbc54be108a5c5723e.tar.bz2
RESOLVED - bug 326221: java.lang.LinkageError: loader constraint violation: loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) previously initiated loading for a different type with name...I-HEAD-platform_feature-73-2010_09_27
https://bugs.eclipse.org/bugs/show_bug.cgi?id=326221 String.split(String) violates BREE
-rw-r--r--protocols/bundles/ch.ethz.iks.r_osgi.remote/src/main/java/ch/ethz/iks/r_osgi/messages/DeliverServiceMessage.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/bundles/ch.ethz.iks.r_osgi.remote/src/main/java/ch/ethz/iks/r_osgi/messages/DeliverServiceMessage.java b/protocols/bundles/ch.ethz.iks.r_osgi.remote/src/main/java/ch/ethz/iks/r_osgi/messages/DeliverServiceMessage.java
index 6bbc30e..8e541cf 100644
--- a/protocols/bundles/ch.ethz.iks.r_osgi.remote/src/main/java/ch/ethz/iks/r_osgi/messages/DeliverServiceMessage.java
+++ b/protocols/bundles/ch.ethz.iks.r_osgi.remote/src/main/java/ch/ethz/iks/r_osgi/messages/DeliverServiceMessage.java
@@ -38,6 +38,8 @@ import java.util.Iterator;
import java.util.Map;
import java.util.Set;
+import ch.ethz.iks.util.StringUtils;
+
/**
* <p>
* DeliverServiceMessage is used to bring an OSGi service to a remote machine.
@@ -155,7 +157,7 @@ public final class DeliverServiceMessage extends RemoteOSGiMessage {
final Set set = new HashSet();
// no need to add imports twice
- final String[] imp = (imports != null ? imports.split(",") : new String[0]);
+ final String[] imp = (imports != null ? StringUtils.stringToArray(imports, ",") : new String[0]);
for (int i = 0; i < imp.length; i++) {
String string = imp[i].trim();
set.add(string);