langtools/test/tools/jdeps/APIDeps.java
changeset 43258 45757c4367f2
parent 41251 6112540cd0c1
--- a/langtools/test/tools/jdeps/APIDeps.java	Tue Jan 17 09:40:23 2017 -0800
+++ b/langtools/test/tools/jdeps/APIDeps.java	Wed Jan 18 09:35:23 2017 +0000
@@ -60,6 +60,9 @@
         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<>();