< prev index next >
test/tools/jdeps/APIDeps.java
Print this page
*** 58,67 ****
--- 58,70 ----
CompilerUtils.cleanDir(dest);
Files.createDirectories(dest);
Path testsrc = Paths.get(System.getProperty("test.src"));
List<String> options = new ArrayList<>();
+ // jdk.jdeps is a service provider module so needs to be explicitly included
+ options.add("--add-modules=jdk.jdeps");
+
// add --add-exports
String testModules = System.getProperty("test.modules", "");
List<String> addExports = new ArrayList<>();
for (String s : testModules.split("\\s+")) {
if (s.isEmpty()) continue;
< prev index next >