langtools/test/tools/javac/T6358166.java
changeset 10193 3e1ef5e9f4fd
parent 5520 86e4b9a9da40
child 24897 655b72d7b96e
--- a/langtools/test/tools/javac/T6358166.java	Tue Jul 05 16:37:24 2011 -0700
+++ b/langtools/test/tools/javac/T6358166.java	Thu Jul 07 13:29:31 2011 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2006, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -61,7 +61,7 @@
 
         Main compilerMain = new Main("javac", new PrintWriter(System.err, true));
         compilerMain.setOptions(Options.instance(context));
-        compilerMain.filenames = new ListBuffer<File>();
+        compilerMain.filenames = new LinkedHashSet<File>();
         compilerMain.processArgs(args);
 
         JavaCompiler c = JavaCompiler.instance(context);