7022310: test/tools/javac/diags/Example: args added twice

Reviewed-by: mcimadamore
This commit is contained in:
Jonathan Gibbons 2011-02-25 12:19:00 -08:00
parent a51962066d
commit 78ebde094c

View File

@ -486,7 +486,7 @@ class Example implements Comparable<Example> {
if (verbose)
System.err.println("run_simple: " + opts + " " + files);
List<String> args = new ArrayList<String>(opts);
List<String> args = new ArrayList<String>();
if (out != null && raw)
args.add("-XDrawDiagnostics");