test/hotspot/jtreg/runtime/Nestmates/membership/PackagedNestHost2Member.jcod
changeset 50735 2f2af62dfac7
equal deleted inserted replaced
50734:0828a0f6676b 50735:2f2af62dfac7
       
     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 //   NestHost attribute is modified to contain P1.PackagedNestHost
       
    25 //   Required members are declared private
       
    26 
       
    27 class P2/PackagedNestHost2$Member {
       
    28   0xCAFEBABE;
       
    29   0; // minor version
       
    30   55; // version
       
    31   [] { // Constant Pool
       
    32     ; // first element is empty
       
    33     Method #10 #26; // #1
       
    34     Field #27 #28; // #2
       
    35     String #29; // #3
       
    36     Method #30 #31; // #4
       
    37     Method #6 #32; // #5
       
    38     class #34; // #6
       
    39     Method #6 #26; // #7
       
    40     Field #6 #37; // #8
       
    41     class #38; // #9
       
    42     class #39; // #10
       
    43     Utf8 "f"; // #11
       
    44     Utf8 "I"; // #12
       
    45     Utf8 "<init>"; // #13
       
    46     Utf8 "()V"; // #14
       
    47     Utf8 "Code"; // #15
       
    48     Utf8 "LineNumberTable"; // #16
       
    49     Utf8 "m"; // #17
       
    50     Utf8 "doInvoke"; // #18
       
    51     Utf8 "doConstruct"; // #19
       
    52     Utf8 "doGetField"; // #20
       
    53     Utf8 "doPutField"; // #21
       
    54     Utf8 "SourceFile"; // #22
       
    55     Utf8 "PackagedNestHost2.java"; // #23
       
    56     Utf8 "NestHost"; // #24
       
    57     class #40; // #25
       
    58     NameAndType #13 #14; // #26
       
    59     class #41; // #27
       
    60     NameAndType #42 #43; // #28
       
    61     Utf8 "You should never see this!"; // #29
       
    62     class #44; // #30
       
    63     NameAndType #45 #46; // #31
       
    64     NameAndType #17 #14; // #32
       
    65     class #47; // #33
       
    66     Utf8 "P1/PackagedNestHost$Member"; // #34
       
    67     Utf8 "Member"; // #35
       
    68     Utf8 "InnerClasses"; // #36
       
    69     NameAndType #11 #12; // #37
       
    70     Utf8 "P2/PackagedNestHost2$Member"; // #38
       
    71     Utf8 "java/lang/Object"; // #39
       
    72     Utf8 "P2/PackagedNestHost2"; // #40
       
    73     Utf8 "java/lang/System"; // #41
       
    74     Utf8 "out"; // #42
       
    75     Utf8 "Ljava/io/PrintStream;"; // #43
       
    76     Utf8 "java/io/PrintStream"; // #44
       
    77     Utf8 "println"; // #45
       
    78     Utf8 "(Ljava/lang/String;)V"; // #46
       
    79     Utf8 "P1/PackagedNestHost"; // #47
       
    80   } // Constant Pool
       
    81 
       
    82   0x0021; // access
       
    83   #9;// this_cpx
       
    84   #10;// super_cpx
       
    85 
       
    86   [] { // Interfaces
       
    87   } // Interfaces
       
    88 
       
    89   [] { // fields
       
    90     { // Member
       
    91       0x000A; // access - modified
       
    92       #11; // name_cpx
       
    93       #12; // sig_cpx
       
    94       [] { // Attributes
       
    95       } // Attributes
       
    96     } // Member
       
    97   } // fields
       
    98 
       
    99   [] { // methods
       
   100     { // Member
       
   101       0x0002; // access - modified
       
   102       #13; // name_cpx
       
   103       #14; // sig_cpx
       
   104       [] { // Attributes
       
   105         Attr(#15) { // Code
       
   106           1; // max_stack
       
   107           1; // max_locals
       
   108           Bytes[]{
       
   109             0x2AB70001B1;
       
   110           };
       
   111           [] { // Traps
       
   112           } // end Traps
       
   113           [] { // Attributes
       
   114             Attr(#16) { // LineNumberTable
       
   115               [] { // LineNumberTable
       
   116                 0  34;
       
   117               }
       
   118             } // end LineNumberTable
       
   119           } // Attributes
       
   120         } // end Code
       
   121       } // Attributes
       
   122     } // Member
       
   123     ;
       
   124     { // Member
       
   125       0x000A; // access - modified
       
   126       #17; // name_cpx
       
   127       #14; // sig_cpx
       
   128       [] { // Attributes
       
   129         Attr(#15) { // Code
       
   130           2; // max_stack
       
   131           0; // max_locals
       
   132           Bytes[]{
       
   133             0xB200021203B60004;
       
   134             0xB1;
       
   135           };
       
   136           [] { // Traps
       
   137           } // end Traps
       
   138           [] { // Attributes
       
   139             Attr(#16) { // LineNumberTable
       
   140               [] { // LineNumberTable
       
   141                 0  37;
       
   142                 8  38;
       
   143               }
       
   144             } // end LineNumberTable
       
   145           } // Attributes
       
   146         } // end Code
       
   147       } // Attributes
       
   148     } // Member
       
   149     ;
       
   150     { // Member
       
   151       0x0009; // access
       
   152       #18; // name_cpx
       
   153       #14; // sig_cpx
       
   154       [] { // Attributes
       
   155         Attr(#15) { // Code
       
   156           0; // max_stack
       
   157           0; // max_locals
       
   158           Bytes[]{
       
   159             0xB80005B1;
       
   160           };
       
   161           [] { // Traps
       
   162           } // end Traps
       
   163           [] { // Attributes
       
   164             Attr(#16) { // LineNumberTable
       
   165               [] { // LineNumberTable
       
   166                 0  45;
       
   167                 3  46;
       
   168               }
       
   169             } // end LineNumberTable
       
   170           } // Attributes
       
   171         } // end Code
       
   172       } // Attributes
       
   173     } // Member
       
   174     ;
       
   175     { // Member
       
   176       0x0009; // access
       
   177       #19; // name_cpx
       
   178       #14; // sig_cpx
       
   179       [] { // Attributes
       
   180         Attr(#15) { // Code
       
   181           2; // max_stack
       
   182           1; // max_locals
       
   183           Bytes[]{
       
   184             0xBB000659B700074B;
       
   185             0xB1;
       
   186           };
       
   187           [] { // Traps
       
   188           } // end Traps
       
   189           [] { // Attributes
       
   190             Attr(#16) { // LineNumberTable
       
   191               [] { // LineNumberTable
       
   192                 0  49;
       
   193                 8  50;
       
   194               }
       
   195             } // end LineNumberTable
       
   196           } // Attributes
       
   197         } // end Code
       
   198       } // Attributes
       
   199     } // Member
       
   200     ;
       
   201     { // Member
       
   202       0x0009; // access
       
   203       #20; // name_cpx
       
   204       #14; // sig_cpx
       
   205       [] { // Attributes
       
   206         Attr(#15) { // Code
       
   207           1; // max_stack
       
   208           1; // max_locals
       
   209           Bytes[]{
       
   210             0xB200083BB1;
       
   211           };
       
   212           [] { // Traps
       
   213           } // end Traps
       
   214           [] { // Attributes
       
   215             Attr(#16) { // LineNumberTable
       
   216               [] { // LineNumberTable
       
   217                 0  53;
       
   218                 4  54;
       
   219               }
       
   220             } // end LineNumberTable
       
   221           } // Attributes
       
   222         } // end Code
       
   223       } // Attributes
       
   224     } // Member
       
   225     ;
       
   226     { // Member
       
   227       0x0009; // access
       
   228       #21; // name_cpx
       
   229       #14; // sig_cpx
       
   230       [] { // Attributes
       
   231         Attr(#15) { // Code
       
   232           1; // max_stack
       
   233           0; // max_locals
       
   234           Bytes[]{
       
   235             0x102AB30008B1;
       
   236           };
       
   237           [] { // Traps
       
   238           } // end Traps
       
   239           [] { // Attributes
       
   240             Attr(#16) { // LineNumberTable
       
   241               [] { // LineNumberTable
       
   242                 0  57;
       
   243                 5  58;
       
   244               }
       
   245             } // end LineNumberTable
       
   246           } // Attributes
       
   247         } // end Code
       
   248       } // Attributes
       
   249     } // Member
       
   250   } // methods
       
   251 
       
   252   [] { // Attributes
       
   253     Attr(#22) { // SourceFile
       
   254       #23;
       
   255     } // end SourceFile
       
   256     ;
       
   257     Attr(#24) { // NestHost
       
   258       0x0021;  // modified - #33
       
   259     } // end NestHost
       
   260     ;
       
   261     Attr(#36) { // InnerClasses
       
   262       [] { // InnerClasses
       
   263         #6 #33 #35 9;
       
   264         #9 #25 #35 9;
       
   265       }
       
   266     } // end InnerClasses
       
   267   } // Attributes
       
   268 } // end class P2/PackagedNestHost2$Member