langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/tool/JavadocTool.java
changeset 38619 27c0007bb28d
parent 36526 3b41f1c69604
child 39364 bd6d4a7936b4
equal deleted inserted replaced
38618:f14423456446 38619:27c0007bb28d
   190             modules.enter(classTrees.toList(), null);
   190             modules.enter(classTrees.toList(), null);
   191 
   191 
   192             syms.unnamedModule.complete(); // TEMP to force reading all named modules
   192             syms.unnamedModule.complete(); // TEMP to force reading all named modules
   193 
   193 
   194             // Build up the complete list of any packages to be documented
   194             // Build up the complete list of any packages to be documented
   195             Location location =
   195             Location location = modules.multiModuleMode ? StandardLocation.MODULE_SOURCE_PATH
   196                     modules.multiModuleMode && !modules.noModules ? StandardLocation.MODULE_SOURCE_PATH
       
   197                     : docenv.fileManager.hasLocation(StandardLocation.SOURCE_PATH) ? StandardLocation.SOURCE_PATH
   196                     : docenv.fileManager.hasLocation(StandardLocation.SOURCE_PATH) ? StandardLocation.SOURCE_PATH
   198                     : StandardLocation.CLASS_PATH;
   197                     : StandardLocation.CLASS_PATH;
   199 
   198 
   200             PackageTable t = new PackageTable(docenv.fileManager, location)
   199             PackageTable t = new PackageTable(docenv.fileManager, location)
   201                     .packages(packageNames)
   200                     .packages(packageNames)