hotspot/test/runtime/modules/ModuleStress/src/jdk.test/test/MainGC.java
changeset 43665 4bb003cad9b9
parent 39616 f82b1f888578
child 44520 0553e129e0ec
--- a/hotspot/test/runtime/modules/ModuleStress/src/jdk.test/test/MainGC.java	Thu Feb 09 17:21:46 2017 +0000
+++ b/hotspot/test/runtime/modules/ModuleStress/src/jdk.test/test/MainGC.java	Fri Feb 10 09:03:55 2017 +0000
@@ -48,7 +48,7 @@
 
         Configuration cf = layerBoot
                 .configuration()
-                .resolveRequires(ModuleFinder.of(), finder, Set.of(MODULE_NAME));
+                .resolve(ModuleFinder.of(), finder, Set.of(MODULE_NAME));
 
         Module testModule = MainGC.class.getModule();
         ClassLoader scl = ClassLoader.getSystemClassLoader();