diff -r df68602dc422 -r 45757c4367f2 langtools/test/tools/jdeps/APIDeps.java --- 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 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 addExports = new ArrayList<>();