--- a/langtools/test/jdk/jshell/KullaTesting.java Thu Feb 09 17:21:49 2017 +0000
+++ b/langtools/test/jdk/jshell/KullaTesting.java Fri Feb 10 09:06:10 2017 +0000
@@ -213,7 +213,7 @@
ModuleFinder finder = ModuleFinder.of(modPath);
Layer parent = Layer.boot();
Configuration cf = parent.configuration()
- .resolveRequires(finder, ModuleFinder.of(), Set.of(moduleName));
+ .resolve(finder, ModuleFinder.of(), Set.of(moduleName));
ClassLoader scl = ClassLoader.getSystemClassLoader();
Layer layer = parent.defineModulesWithOneLoader(cf, scl);
ClassLoader loader = layer.findLoader(moduleName);