< prev index next >
test/hotspot/jtreg/runtime/Nestmates/membership/NotAMember2.java
Print this page
*** 20,32 ****
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
public class NotAMember2 {
! // jcod modified to have a nest-top which does not include this class
public static class Member {
! // this generates a CP entry we can use for the nest-top
static Class tc = TestNestmateMembership.class;
// jcod modified to be private
public static void m() {
System.out.println("NotAMember2.Member.m() - java version");
--- 20,32 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
public class NotAMember2 {
! // jcod modified to have a nest-host which does not include this class
public static class Member {
! // this generates a CP entry we can use for the nest-host
static Class tc = TestNestmateMembership.class;
// jcod modified to be private
public static void m() {
System.out.println("NotAMember2.Member.m() - java version");
< prev index next >