Skip to content
Permalink
Browse files
8269426: Rename test/jdk/java/lang/invoke/t8150782 to accessClassAndF…
…indClass

Reviewed-by: mdoerr
Backport-of: 5624069
  • Loading branch information
GoeLin committed Sep 30, 2021
1 parent b9f0143 commit b79e707f8783b5f939673b19fdb22b596c353edb
Showing 4 changed files with 9 additions and 9 deletions.
@@ -26,9 +26,9 @@
/* @test
* @bug 8150782 8207027
* @compile TestAccessClass.java TestCls.java
* @run testng/othervm -ea -esa test.java.lang.invoke.t8150782.TestAccessClass
* @run testng/othervm -ea -esa test.java.lang.invoke.TestAccessClass
*/
package test.java.lang.invoke.t8150782;
package test.java.lang.invoke;

import java.lang.invoke.*;

@@ -22,7 +22,7 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package test.java.lang.invoke.t8150782;
package test.java.lang.invoke;

import static java.lang.invoke.MethodHandles.*;

@@ -26,9 +26,9 @@
/* @test
* @bug 8150782 8207027
* @compile TestFindClass.java TestCls.java
* @run testng/othervm -ea -esa test.java.lang.invoke.t8150782.TestFindClass
* @run testng/othervm -ea -esa test.java.lang.invoke.TestFindClass
*/
package test.java.lang.invoke.t8150782;
package test.java.lang.invoke;

import java.lang.invoke.*;

@@ -40,7 +40,7 @@

public class TestFindClass {

private static final String PACKAGE_PREFIX = "test.java.lang.invoke.t8150782.";
private static final String PACKAGE_PREFIX = "test.java.lang.invoke.";

private static boolean initializedClass1;

@@ -25,9 +25,9 @@

/* @test
* @compile TestLookup.java TestCls.java
* @run testng/othervm -ea -esa test.java.lang.invoke.t8150782.TestLookup
* @run testng/othervm -ea -esa test.java.lang.invoke.TestLookup
*/
package test.java.lang.invoke.t8150782;
package test.java.lang.invoke;

import org.testng.annotations.Test;

@@ -48,7 +48,7 @@ public void testClassLoaderChange() {
@Test(expectedExceptions = {ClassNotFoundException.class})
public void testPublicCannotLoadUserClass() throws IllegalAccessException, ClassNotFoundException {
Lookup lookup = publicLookup();
lookup.findClass("test.java.lang.invoke.t8150782.TestCls");
lookup.findClass("test.java.lang.invoke.TestCls");
}

@Test

1 comment on commit b79e707

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on b79e707 Sep 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.