| Summary: | [launcher] --launcher.overrideVmargs/appendVmArgs incorrectly consumed | ||
|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Andrew Niefer <aniefer> |
| Component: | Framework | Assignee: | equinox.framework-inbox <equinox.framework-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | daniel_megert, tjwatson |
| Version: | 3.6 | ||
| Target Milestone: | 3.7 M2 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Andrew Niefer
Sorry, I was wrong about this. This is a bug in the way we are consuming the --launcher.overrideVmargs and appendVmargs specifically. These arguments are handled where we are expecting a parameter, they need to be handled earlier when we are checking for flags. fixed This is a flag the check so the [i-1] is incorrect and causes this: java.lang.ArrayIndexOutOfBoundsException: -1 at org.eclipse.equinox.launcher.Main.processCommandLine(Main.java:1496) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:542) at org.eclipse.equinox.launcher.Main.run(Main.java:1409) at org.eclipse.equinox.launcher.Main.main(Main.java:1385) this was fixed in v20100824b |