langtools/test/jdk/jshell/KullaTesting.java
changeset 43767 9cff98a149cb
parent 43132 6a5c69926e60
child 44573 245bb4e6f983
--- 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);