1 /*
   2  * Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 // Generated from the source in TestInvokeHierarchy.java
  25 // with priv_invoke access modifier changed to private
  26 
  27 class ExternalSuper {
  28   0xCAFEBABE;
  29   0; // minor version
  30   55; // version
  31   [] { // Constant Pool
  32     ; // first element is empty
  33     Method #4 #16; // #1    
  34     class #17; // #2    
  35     String #18; // #3    
  36     class #19; // #4    
  37     Utf8 "ID"; // #5    
  38     Utf8 "Ljava/lang/String;"; // #6    
  39     Utf8 "ConstantValue"; // #7    
  40     Utf8 "<init>"; // #8    
  41     Utf8 "()V"; // #9    
  42     Utf8 "Code"; // #10    
  43     Utf8 "LineNumberTable"; // #11    
  44     Utf8 "priv_invoke_s"; // #12    
  45     Utf8 "()Ljava/lang/String;"; // #13    
  46     Utf8 "SourceFile"; // #14    
  47     Utf8 "TestInvokeHierarchy.java"; // #15    
  48     NameAndType #8 #9; // #16    
  49     Utf8 "ExternalSuper"; // #17    
  50     Utf8 "ExternalSuper::priv_invoke_s"; // #18    
  51     Utf8 "java/lang/Object"; // #19    
  52   } // Constant Pool
  53 
  54   0x0020; // access
  55   #2;// this_cpx
  56   #4;// super_cpx
  57 
  58   [] { // Interfaces
  59   } // Interfaces
  60 
  61   [] { // fields
  62     { // Member
  63       0x0018; // access
  64       #5; // name_cpx
  65       #6; // sig_cpx
  66       [] { // Attributes
  67         Attr(#7) { // ConstantValue
  68           #3;
  69         } // end ConstantValue
  70       } // Attributes
  71     } // Member
  72   } // fields
  73 
  74   [] { // methods
  75     { // Member
  76       0x0000; // access
  77       #8; // name_cpx
  78       #9; // sig_cpx
  79       [] { // Attributes
  80         Attr(#10) { // Code
  81           1; // max_stack
  82           1; // max_locals
  83           Bytes[]{
  84             0x2AB70001B1;
  85           };
  86           [] { // Traps
  87           } // end Traps
  88           [] { // Attributes
  89             Attr(#11) { // LineNumberTable
  90               [] { // LineNumberTable
  91                 0  119;
  92               }
  93             } // end LineNumberTable
  94           } // Attributes
  95         } // end Code
  96       } // Attributes
  97     } // Member
  98     ;
  99     { // Member
 100       0x0002; // access - private
 101       #12; // name_cpx
 102       #13; // sig_cpx
 103       [] { // Attributes
 104         Attr(#10) { // Code
 105           1; // max_stack
 106           1; // max_locals
 107           Bytes[]{
 108             0x1203B0;
 109           };
 110           [] { // Traps
 111           } // end Traps
 112           [] { // Attributes
 113             Attr(#11) { // LineNumberTable
 114               [] { // LineNumberTable
 115                 0  124;
 116               }
 117             } // end LineNumberTable
 118           } // Attributes
 119         } // end Code
 120       } // Attributes
 121     } // Member
 122   } // methods
 123 
 124   [] { // Attributes
 125     Attr(#14) { // SourceFile
 126       #15;
 127     } // end SourceFile
 128   } // Attributes
 129 } // end class ExternalSuper