7022310: test/tools/javac/diags/Example: args added twice
authorjjg
Fri, 25 Feb 2011 12:19:00 -0800
changeset 8615 11d80b55b0ed
parent 8614 06e42328ddab
child 8616 5a47f5535883
7022310: test/tools/javac/diags/Example: args added twice Reviewed-by: mcimadamore
langtools/test/tools/javac/diags/Example.java
--- a/langtools/test/tools/javac/diags/Example.java	Fri Feb 25 12:09:33 2011 -0800
+++ b/langtools/test/tools/javac/diags/Example.java	Fri Feb 25 12:19:00 2011 -0800
@@ -486,7 +486,7 @@
             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");