langtools/src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
changeset 6572 4ca2051ff71a
parent 6355 f01ebbf5a5f7
child 6581 f58f0ce45802
equal deleted inserted replaced
6356:af24929939ca 6572:4ca2051ff71a
   914                         cdefs.append((JCClassDecl)defs.head);
   914                         cdefs.append((JCClassDecl)defs.head);
   915                 }
   915                 }
   916             }
   916             }
   917             rootClasses = cdefs.toList();
   917             rootClasses = cdefs.toList();
   918         }
   918         }
       
   919 
       
   920         // Ensure the input files have been recorded. Although this is normally
       
   921         // done by readSource, it may not have been done if the trees were read
       
   922         // in a prior round of annotation processing, and the trees have been
       
   923         // cleaned and are being reused.
       
   924         for (JCCompilationUnit unit : roots) {
       
   925             inputFiles.add(unit.sourcefile);
       
   926         }
       
   927 
   919         return roots;
   928         return roots;
   920     }
   929     }
   921 
   930 
   922     /**
   931     /**
   923      * Set to true to enable skeleton annotation processing code.
   932      * Set to true to enable skeleton annotation processing code.