test/jdk/java/lang/ModuleLayer/BasicLayerTest.java
changeset 52427 3c6aa484536c
parent 52102 19f6b12df31a
--- a/test/jdk/java/lang/ModuleLayer/BasicLayerTest.java	Tue Nov 06 17:28:14 2018 +0100
+++ b/test/jdk/java/lang/ModuleLayer/BasicLayerTest.java	Tue Nov 06 10:01:16 2018 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -24,7 +24,7 @@
 /**
  * @test
  * @library /test/lib
- * @modules java.base/jdk.internal.misc
+ * @modules java.base/jdk.internal.access
  * @build BasicLayerTest
  *        jdk.test.lib.util.ModuleUtils
  * @compile layertest/Test.java
@@ -38,13 +38,12 @@
 import java.lang.module.ModuleFinder;
 import java.util.HashMap;
 import java.util.Map;
-import java.util.Optional;
 import java.util.Set;
 import java.util.stream.Collectors;
 
 import jdk.test.lib.util.ModuleUtils;
 
-import jdk.internal.misc.SharedSecrets;
+import jdk.internal.access.SharedSecrets;
 
 import org.testng.annotations.DataProvider;
 import org.testng.annotations.Test;