src/jdk.compiler/share/classes/com/sun/tools/javac/code/ClassFinder.java
changeset 48680 f944d1b7ab25
parent 47702 cf8310446245
child 49197 cc2673fa8c20
equal deleted inserted replaced
48679:4cf06ada7fa2 48680:f944d1b7ab25
   631         boolean wantSourceFiles = !sourceKinds.isEmpty();
   631         boolean wantSourceFiles = !sourceKinds.isEmpty();
   632 
   632 
   633         boolean haveSourcePath = includeSourcePath && fileManager.hasLocation(SOURCE_PATH);
   633         boolean haveSourcePath = includeSourcePath && fileManager.hasLocation(SOURCE_PATH);
   634 
   634 
   635         if (verbose && verbosePath) {
   635         if (verbose && verbosePath) {
       
   636             verbosePath = false; // print once per compile
   636             if (fileManager instanceof StandardJavaFileManager) {
   637             if (fileManager instanceof StandardJavaFileManager) {
   637                 StandardJavaFileManager fm = (StandardJavaFileManager)fileManager;
   638                 StandardJavaFileManager fm = (StandardJavaFileManager)fileManager;
   638                 if (haveSourcePath && wantSourceFiles) {
   639                 if (haveSourcePath && wantSourceFiles) {
   639                     List<Path> path = List.nil();
   640                     List<Path> path = List.nil();
   640                     for (Path sourcePath : fm.getLocationAsPaths(SOURCE_PATH)) {
   641                     for (Path sourcePath : fm.getLocationAsPaths(SOURCE_PATH)) {