6976833: options included twice in Example SimpleCompiler
authorjjg
Mon, 16 Aug 2010 14:59:21 -0700
changeset 6349 f80dfbda8f27
parent 6348 6c9b14d4a438
child 6350 7070b0722ebb
6976833: options included twice in Example SimpleCompiler Reviewed-by: darcy
langtools/test/tools/javac/diags/Example.java
--- a/langtools/test/tools/javac/diags/Example.java	Mon Aug 16 14:58:10 2010 +0100
+++ b/langtools/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");