--- a/jdk/test/java/lang/Class/forName/modules/TestMain.java Thu Apr 06 17:01:03 2017 +0000
+++ b/jdk/test/java/lang/Class/forName/modules/TestMain.java Fri Apr 07 08:05:54 2017 +0000
@@ -21,13 +21,11 @@
* questions.
*/
-import java.lang.reflect.Layer;
import java.lang.reflect.Method;
-import java.lang.reflect.Module;
public class TestMain {
public static void main(String[] args) throws Exception {
- Layer boot = Layer.boot();
+ ModuleLayer boot = ModuleLayer.boot();
Module m1 = boot.findModule("m1").get();
Module m2 = boot.findModule("m2").get();