jdk/test/tools/jlink/JLinkTest.java
changeset 44545 83b611b88ac8
parent 44367 a81c9c6619fb
--- a/jdk/test/tools/jlink/JLinkTest.java	Thu Apr 06 17:01:03 2017 +0000
+++ b/jdk/test/tools/jlink/JLinkTest.java	Fri Apr 07 08:05:54 2017 +0000
@@ -25,7 +25,6 @@
 import java.io.PrintWriter;
 import java.io.StringWriter;
 import java.lang.module.ModuleDescriptor;
-import java.lang.reflect.Layer;
 import java.nio.file.Files;
 import java.nio.file.Path;
 import java.nio.file.Paths;
@@ -88,7 +87,7 @@
         {
             // number of built-in plugins
             List<Plugin> builtInPlugins = new ArrayList<>();
-            builtInPlugins.addAll(PluginRepository.getPlugins(Layer.boot()));
+            builtInPlugins.addAll(PluginRepository.getPlugins(ModuleLayer.boot()));
             totalPlugins = builtInPlugins.size();
             // actual num. of plugins loaded from jdk.jlink module
             int actualJLinkPlugins = 0;