Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2007-08-20 14:37:16 +0000
committerThomas Watson2007-08-20 14:37:16 +0000
commit73426d81c1245687c483f7ce4530dcb684a8f731 (patch)
treecd282222de041fc3ec51d5f12d4a4b979cb31778 /bundles/org.eclipse.osgi/eclipseAdaptor
parent44a3e564e821c1c042fb91f81379d2b4c3d066c3 (diff)
downloadrt.equinox.framework-73426d81c1245687c483f7ce4530dcb684a8f731.tar.gz
rt.equinox.framework-73426d81c1245687c483f7ce4530dcb684a8f731.tar.xz
rt.equinox.framework-73426d81c1245687c483f7ce4530dcb684a8f731.zip
Bug 188089 [osgi] can't launch an osgi bundle if the path of its plugin project contains the caracter "@"
Diffstat (limited to 'bundles/org.eclipse.osgi/eclipseAdaptor')
-rw-r--r--bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/adaptor/EclipseStarter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/adaptor/EclipseStarter.java b/bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/adaptor/EclipseStarter.java
index 2bb24b270..b9b8807ce 100644
--- a/bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/adaptor/EclipseStarter.java
+++ b/bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/adaptor/EclipseStarter.java
@@ -649,7 +649,7 @@ public class EclipseStarter {
String name = installEntries[i];
int level = defaultStartLevel;
boolean start = false;
- int index = name.indexOf('@');
+ int index = name.lastIndexOf('@');
if (index >= 0) {
String[] attributes = getArrayFromList(name.substring(index + 1, name.length()), ":"); //$NON-NLS-1$
name = name.substring(0, index);

Back to the top