diff test/runtime/Nestmates/membership/NotAMember2.jcod @ 13573:f2e4f1de7ace

8186763: Nestmate update for lazy validation and virtual invocation
author dholmes
date Wed, 30 Aug 2017 02:37:37 -0400
parents 073ad89cfa90
children
line wrap: on
line diff
--- a/test/runtime/Nestmates/membership/NotAMember2.jcod	Fri Aug 11 11:32:17 2017 +0100
+++ b/test/runtime/Nestmates/membership/NotAMember2.jcod	Wed Aug 30 02:37:37 2017 -0400
@@ -21,54 +21,71 @@
  * questions.
  */
 
-/* Generated from:
+/* Generated from: NotAMember2.java
 
-public class TestNestMaterMembership {
-  public static class Nested {}
-}
+   MemberOfNest attribute is modified to refer to TestNestmateMembership.
+   m() is declared private
 */
 
-// Class NotAMember2 claims to be in the nest of TestNestmateMembership but isn't
-
-class NotAMember2 {
+class NotAMember2$Member {
   0xCAFEBABE;
   0; // minor version
   53; // version
   [] { // Constant Pool
     ; // first element is empty
-    Method #3 #14; // #1    
-    class #15; // #2    
-    class #18; // #3    
-    Utf8 "obj"; // #4    
-    Utf8 "[Ljava/lang/Object;"; // #5    
-    Utf8 "<init>"; // #6    
-    Utf8 "()V"; // #7    
-    Utf8 "Code"; // #8    
-    Utf8 "LineNumberTable"; // #9    
-    Utf8 "SourceFile"; // #10    
-    Utf8 "TestNestmateMembership.java"; // #11    
-    Utf8 "MemberOfNest"; // #12    
-    class #19; // #13    
-    NameAndType #6 #7; // #14    
-    Utf8 "NotAMember2"; // #15    
-    Utf8 "Nested"; // #16    
-    Utf8 "InnerClasses"; // #17    
-    Utf8 "java/lang/Object"; // #18    
-    Utf8 "TestNestmateMembership"; // #19    
+    Method #8 #21; // #1    
+    Field #22 #23; // #2    
+    String #24; // #3    
+    Method #25 #26; // #4    
+    class #27; // #5    
+    Field #7 #28; // #6    
+    class #29; // #7    
+    class #32; // #8    
+    Utf8 "tc"; // #9    
+    Utf8 "Ljava/lang/Class;"; // #10    
+    Utf8 "<init>"; // #11    
+    Utf8 "()V"; // #12    
+    Utf8 "Code"; // #13    
+    Utf8 "LineNumberTable"; // #14    
+    Utf8 "m"; // #15    
+    Utf8 "<clinit>"; // #16    
+    Utf8 "SourceFile"; // #17    
+    Utf8 "NotAMember2.java"; // #18    
+    Utf8 "MemberOfNest"; // #19    
+    class #33; // #20    
+    NameAndType #11 #12; // #21    
+    class #34; // #22    
+    NameAndType #35 #36; // #23    
+    Utf8 "NotAMember2.Member.m() - jcod version"; // #24    - modified
+    class #37; // #25    
+    NameAndType #38 #39; // #26    
+    Utf8 "TestNestmateMembership"; // #27    
+    NameAndType #9 #10; // #28    
+    Utf8 "NotAMember2$Member"; // #29    
+    Utf8 "Member"; // #30    
+    Utf8 "InnerClasses"; // #31    
+    Utf8 "java/lang/Object"; // #32    
+    Utf8 "NotAMember2"; // #33    
+    Utf8 "java/lang/System"; // #34    
+    Utf8 "out"; // #35    
+    Utf8 "Ljava/io/PrintStream;"; // #36    
+    Utf8 "java/io/PrintStream"; // #37    
+    Utf8 "println"; // #38    
+    Utf8 "(Ljava/lang/String;)V"; // #39    
   } // Constant Pool
 
-  0x0020; // access
-  #2;// this_cpx
-  #3;// super_cpx
+  0x0021; // access
+  #7;// this_cpx
+  #8;// super_cpx
 
   [] { // Interfaces
   } // Interfaces
 
   [] { // fields
     { // Member
-      0x0000; // access
-      #4; // name_cpx
-      #5; // sig_cpx
+      0x0008; // access
+      #9; // name_cpx
+      #10; // sig_cpx
       [] { // Attributes
       } // Attributes
     } // Member
@@ -76,11 +93,11 @@
 
   [] { // methods
     { // Member
-      0x0000; // access
-      #6; // name_cpx
-      #7; // sig_cpx
+      0x0001; // access
+      #11; // name_cpx
+      #12; // sig_cpx
       [] { // Attributes
-        Attr(#8) { // Code
+        Attr(#13) { // Code
           1; // max_stack
           1; // max_locals
           Bytes[]{
@@ -89,9 +106,59 @@
           [] { // Traps
           } // end Traps
           [] { // Attributes
-            Attr(#9) { // LineNumberTable
+            Attr(#14) { // LineNumberTable
               [] { // LineNumberTable
-                0  37;
+                0  4;
+              }
+            } // end LineNumberTable
+          } // Attributes
+        } // end Code
+      } // Attributes
+    } // Member
+    ;
+    { // Member
+      0x000A; // access - modified
+      #15; // name_cpx
+      #12; // sig_cpx
+      [] { // Attributes
+        Attr(#13) { // Code
+          2; // max_stack
+          0; // max_locals
+          Bytes[]{
+            0xB200021203B60004;
+            0xB1;
+          };
+          [] { // Traps
+          } // end Traps
+          [] { // Attributes
+            Attr(#14) { // LineNumberTable
+              [] { // LineNumberTable
+                0  9;
+                8  10;
+              }
+            } // end LineNumberTable
+          } // Attributes
+        } // end Code
+      } // Attributes
+    } // Member
+    ;
+    { // Member
+      0x0008; // access
+      #16; // name_cpx
+      #12; // sig_cpx
+      [] { // Attributes
+        Attr(#13) { // Code
+          1; // max_stack
+          0; // max_locals
+          Bytes[]{
+            0x1205B30006B1;
+          };
+          [] { // Traps
+          } // end Traps
+          [] { // Attributes
+            Attr(#14) { // LineNumberTable
+              [] { // LineNumberTable
+                0  5;
               }
             } // end LineNumberTable
           } // Attributes
@@ -101,18 +168,18 @@
   } // methods
 
   [] { // Attributes
-    Attr(#10) { // SourceFile
-      #11;
+    Attr(#17) { // SourceFile
+      #18;
     } // end SourceFile
     ;
-    Attr(#12) { // MemberOfNest
-      0x000D;  // refers to TestNestmateMembership
+    Attr(#19) { // MemberOfNest - modified
+      0x0005;
     } // end MemberOfNest
     ;
-    Attr(#17) { // InnerClasses
+    Attr(#31) { // InnerClasses
       [] { // InnerClasses
-        #2 #13 #16 8;
+        #7 #20 #30 9;
       }
     } // end InnerClasses
   } // Attributes
-} // end class NotAMember2
+} // end class NotAMember2$Member