Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2010-08-24 16:03:26 +0000
committerAndrew Niefer2010-08-24 16:03:26 +0000
commit498e034395b03b77df66b22bf726d2f051efc824 (patch)
tree48000557409a3062dc96291096fcd22450e81a53 /bundles/org.eclipse.equinox.launcher
parentcb3703790e0a5c8db0fcc31a981548fc3e9a2b2f (diff)
downloadrt.equinox.framework-498e034395b03b77df66b22bf726d2f051efc824.tar.gz
rt.equinox.framework-498e034395b03b77df66b22bf726d2f051efc824.tar.xz
rt.equinox.framework-498e034395b03b77df66b22bf726d2f051efc824.zip
bug 323422 - [launcher] --launcher.overrideVmargs/appendVmArgs incorrectly consumedv20100824b
Diffstat (limited to 'bundles/org.eclipse.equinox.launcher')
-rw-r--r--bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
index d8f85eb3e..fef97ca00 100644
--- a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
+++ b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
@@ -1493,7 +1493,7 @@ public class Main {
}
//just consume the --launcher.overrideVmargs and --launcher.appendVmargs
- if (args[i - 1].equalsIgnoreCase(APPEND_VMARGS) || args[i - 1].equalsIgnoreCase(OVERRIDE_VMARGS)) {
+ if (args[i].equalsIgnoreCase(APPEND_VMARGS) || args[i].equalsIgnoreCase(OVERRIDE_VMARGS)) {
found = true;
}

Back to the top