--- 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<>();