--- a/langtools/test/tools/javac/warnings/VerifyLintDescriptions.java Thu Apr 06 17:01:05 2017 +0000
+++ b/langtools/test/tools/javac/warnings/VerifyLintDescriptions.java Fri Apr 07 08:08:26 2017 +0000
@@ -30,8 +30,6 @@
* jdk.compiler/com.sun.tools.javac.util
*/
-import java.lang.reflect.Layer;
-import java.lang.reflect.Module;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
@@ -42,7 +40,7 @@
public class VerifyLintDescriptions {
public static void main(String... args) {
- Layer boot = Layer.boot();
+ ModuleLayer boot = ModuleLayer.boot();
Module jdk_compiler = boot.findModule("jdk.compiler").get();
ResourceBundle b = ResourceBundle.getBundle("com.sun.tools.javac.resources.javac",
Locale.US,