changeset 673:a31c511db424

6976833: options included twice in Example SimpleCompiler Reviewed-by: darcy
author jjg
date Mon, 16 Aug 2010 14:59:21 -0700
parents dc550520ed6f
children c655e0280bdc
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	Mon Aug 16 14:58:10 2010 +0100
+++ b/test/tools/javac/diags/Example.java	Mon Aug 16 14:59:21 2010 -0700
@@ -421,7 +421,7 @@
             if (verbose)
                 System.err.println("run_simple: " + opts + " " + files);
 
-            List<String> args = new ArrayList<String>(opts);
+            List<String> args = new ArrayList<String>();
 
             if (keys != null || raw)
                 args.add("-XDrawDiagnostics");