< prev index next >
langtools/src/jdk.dev/share/classes/com/sun/tools/jdeps/JdepsTask.java
Print this page
*** 552,563 ****
initialArchives.addAll(classpaths);
}
classpaths.addAll(PlatformClassPath.getModules(options.mpath));
if (options.mpath != null) {
initialArchives.addAll(PlatformClassPath.getModules(options.mpath));
! }
classpaths.addAll(PlatformClassPath.getJarFiles());
// add all classpath archives to the source locations for reporting
sourceLocations.addAll(classpaths);
}
private void findDependencies(boolean apiOnly) throws IOException {
--- 552,564 ----
initialArchives.addAll(classpaths);
}
classpaths.addAll(PlatformClassPath.getModules(options.mpath));
if (options.mpath != null) {
initialArchives.addAll(PlatformClassPath.getModules(options.mpath));
! } else {
classpaths.addAll(PlatformClassPath.getJarFiles());
+ }
// add all classpath archives to the source locations for reporting
sourceLocations.addAll(classpaths);
}
private void findDependencies(boolean apiOnly) throws IOException {
< prev index next >