Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Keller2012-09-26 15:05:30 +0000
committerMarkus Keller2012-09-26 15:05:30 +0000
commit7f144247727de01bfce8af95c05a898f6ec16d55 (patch)
tree2f337b8d5849590c9e0e8945a8111af96de35a48 /org.eclipse.debug.core/core
parentaeb204dd5975c4bd3ed2a35f43b44c0b5095860e (diff)
downloadeclipse.platform.debug-7f144247727de01bfce8af95c05a898f6ec16d55.tar.gz
eclipse.platform.debug-7f144247727de01bfce8af95c05a898f6ec16d55.tar.xz
eclipse.platform.debug-7f144247727de01bfce8af95c05a898f6ec16d55.zip
Bug 387504: Bugs in program argument parsing (compared to command line)
Fixed ArgumentTests.testProgramArgEmptyString
Diffstat (limited to 'org.eclipse.debug.core/core')
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java
index 13b6029b8..4d3b6d00a 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java
@@ -1442,7 +1442,7 @@ public class DebugPlugin extends Plugin {
throw new IllegalStateException();
}
}
- if (buf.length() > 0)
+ if (buf.length() > 0 || state != DEFAULT)
result.add(buf.toString());
return (String[]) result.toArray(new String[result.size()]);

Back to the top