Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8269426: Rename test/jdk/java/lang/invoke/t8150782 to accessClassAndF…
…indClass

Reviewed-by: jvernee
  • Loading branch information
Mandy Chung committed Jun 28, 2021
1 parent 09bb846 commit 56240690f62f9048a45a53525efccffdec235a8d
Showing 6 changed files with 9 additions and 9 deletions.
@@ -26,9 +26,9 @@
/* @test
* @bug 8150782 8207027 8266269
* @compile TestAccessClass.java TestCls.java p/Foo.java q/Bar.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.*;
import java.lang.reflect.Modifier;
@@ -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 8266269
* @compile TestFindClass.java TestCls.java p/Foo.java q/Bar.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.*;
import p.Foo;
@@ -42,7 +42,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 5624069

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 5624069 Jun 28, 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.