changeset 963:23b64ad3eec8

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