< prev index next >

test/hotspot/jtreg/runtime/Nestmates/reflectionAPI/Hosts.java

Print this page

        

@@ -47,5 +47,17 @@
 
 class HostOfMemberMalformedHost {
     // Malformed NestHost class
     static class MemberMalformedHost {}
 }
+
+// Host lists itself as a member along
+// with real member.
+class HostWithSelfMember {
+    static class Member {}
+}
+
+// Host lists duplicate members.
+class HostWithDuplicateMembers {
+    static class Member1 {}
+    static interface Member2 {}
+}
< prev index next >