src/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java

changeset 1090
1807fc3fd33c
parent 1055
7337295434b6
child 1097
497571d34112
equal deleted inserted replaced
1089:0f3da6af9799 1090:1807fc3fd33c
272 * classes in the abstract syntax trees 272 * classes in the abstract syntax trees
273 */ 273 */
274 public Iterable<? extends TypeElement> enter(Iterable<? extends CompilationUnitTree> trees) 274 public Iterable<? extends TypeElement> enter(Iterable<? extends CompilationUnitTree> trees)
275 throws IOException 275 throws IOException
276 { 276 {
277 if (trees == null && notYetEntered != null && notYetEntered.isEmpty())
278 return List.nil();
279
277 prepareCompiler(); 280 prepareCompiler();
278 281
279 ListBuffer<JCCompilationUnit> roots = null; 282 ListBuffer<JCCompilationUnit> roots = null;
280 283
281 if (trees == null) { 284 if (trees == null) {

mercurial