test/jdk/java/lang/module/ModuleNamesTest.java
changeset 52427 3c6aa484536c
parent 47216 71c04702a3d5
--- a/test/jdk/java/lang/module/ModuleNamesTest.java	Tue Nov 06 17:28:14 2018 +0100
+++ b/test/jdk/java/lang/module/ModuleNamesTest.java	Tue Nov 06 10:01:16 2018 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 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
@@ -23,7 +23,7 @@
 
 /**
  * @test
- * @modules java.base/jdk.internal.misc
+ * @modules java.base/jdk.internal.access
  *          java.base/jdk.internal.module
  * @run testng ModuleNamesTest
  * @summary Basic test of reading a module-info.class with module names that
@@ -41,7 +41,7 @@
 import java.util.Optional;
 import java.util.Set;
 
-import jdk.internal.misc.SharedSecrets;
+import jdk.internal.access.SharedSecrets;
 import jdk.internal.module.ModuleInfoWriter;
 
 import org.testng.annotations.DataProvider;