changeset 6349:f80dfbda8f27

6976833: options included twice in Example SimpleCompiler Reviewed-by: darcy
author jjg
date Mon, 16 Aug 2010 14:59:21 -0700
parents 6c9b14d4a438
children 7070b0722ebb
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	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");