src/share/classes/com/sun/tools/javac/main/JavaCompiler.java

changeset 654
e9d09e97d669
parent 642
6b95dd682538
child 663
eb7c263aab73
equal deleted inserted replaced
643:a626d8c1de6e 654:e9d09e97d669
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.

mercurial