--- old/test/java/lang/reflect/Module/WithSecurityManager.java 2017-02-07 13:14:07.042552755 +0000 +++ new/test/java/lang/reflect/Module/WithSecurityManager.java 2017-02-07 13:14:06.875541286 +0000 @@ -126,7 +126,7 @@ Layer bootLayer = Layer.boot(); Configuration cf = bootLayer .configuration() - .resolveRequires(finder, ModuleFinder.of(), Set.of(ANOTHER_MODULE)); + .resolve(finder, ModuleFinder.of(), Set.of(ANOTHER_MODULE)); Layer layer = bootLayer.defineModulesWithOneLoader(cf, null); Optional om = layer.findModule(mn);