< prev index next >
src/jdk.jdeps/share/classes/com/sun/tools/jdeps/Profile.java
Print this page
*** 30,40 ****
import java.util.Arrays;
import java.util.Comparator;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
- import java.util.Optional;
import java.util.Set;
/**
* Build the profile information.
*/
--- 30,39 ----
*** 136,146 ****
}
// for debugging
public static void main(String[] args) throws IOException {
// initialize Profiles
! new JdepsConfiguration.Builder().allModules().build();
// find platform modules
if (Profile.getProfileCount() == 0) {
System.err.println("No profile is present in this JDK");
}
--- 135,145 ----
}
// for debugging
public static void main(String[] args) throws IOException {
// initialize Profiles
! new JdepsConfiguration.Builder().addmods(Set.of("ALL-SYSTEM")).build();
// find platform modules
if (Profile.getProfileCount() == 0) {
System.err.println("No profile is present in this JDK");
}
< prev index next >