changeset 8615:11d80b55b0ed

7022310: test/tools/javac/diags/Example: args added twice Reviewed-by: mcimadamore
author jjg
date Fri, 25 Feb 2011 12:19:00 -0800
parents 06e42328ddab
children 5a47f5535883
files langtools/test/tools/javac/diags/Example.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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");