langtools/src/jdk.javadoc/share/classes/com/sun/tools/javadoc/main/JavadocTool.java
changeset 38619 27c0007bb28d
parent 38617 d93a7f64e231
child 39917 c51a8950f278
equal deleted inserted replaced
38618:f14423456446 38619:27c0007bb28d
   186             modules.enter(classTrees.toList(), null);
   186             modules.enter(classTrees.toList(), null);
   187 
   187 
   188             syms.unnamedModule.complete(); // TEMP to force reading all named modules
   188             syms.unnamedModule.complete(); // TEMP to force reading all named modules
   189 
   189 
   190             // Build up the complete list of any packages to be documented
   190             // Build up the complete list of any packages to be documented
   191             Location location =
   191             Location location = modules.multiModuleMode ? StandardLocation.MODULE_SOURCE_PATH
   192                     modules.multiModuleMode && !modules.noModules ? StandardLocation.MODULE_SOURCE_PATH
       
   193                     : docenv.fileManager.hasLocation(StandardLocation.SOURCE_PATH) ? StandardLocation.SOURCE_PATH
   192                     : docenv.fileManager.hasLocation(StandardLocation.SOURCE_PATH) ? StandardLocation.SOURCE_PATH
   194                     : StandardLocation.CLASS_PATH;
   193                     : StandardLocation.CLASS_PATH;
   195 
   194 
   196             PackageTable t = new PackageTable(docenv.fileManager, location)
   195             PackageTable t = new PackageTable(docenv.fileManager, location)
   197                     .packages(packageNames)
   196                     .packages(packageNames)