diff -r 2c33418a6d57 -r 83b611b88ac8 jdk/test/java/lang/SecurityManager/CheckSecurityProvider.java --- a/jdk/test/java/lang/SecurityManager/CheckSecurityProvider.java Thu Apr 06 17:01:03 2017 +0000 +++ b/jdk/test/java/lang/SecurityManager/CheckSecurityProvider.java Fri Apr 07 08:05:54 2017 +0000 @@ -28,7 +28,6 @@ * @run main/othervm CheckSecurityProvider */ -import java.lang.reflect.Layer; import java.security.Provider; import java.security.Security; import java.util.ArrayList; @@ -45,7 +44,7 @@ */ public class CheckSecurityProvider { public static void main(String[] args) throws Exception { - Layer layer = Layer.boot(); + ModuleLayer layer = ModuleLayer.boot(); System.setSecurityManager(new SecurityManager());