test/hotspot/jtreg/runtime/Nestmates/membership/PackagedNestHost.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 //   NestMembers attribute is modified to contain P2.PackagedNestHost2.Member
       
    25 
       
    26 class P1/PackagedNestHost {
       
    27   0xCAFEBABE;
       
    28   0; // minor version
       
    29   55; // version
       
    30   [] { // Constant Pool
       
    31     ; // first element is empty
       
    32     Method #7 #22; // #1
       
    33     Method #3 #23; // #2
       
    34     class #25; // #3
       
    35     Method #3 #22; // #4
       
    36     Field #3 #26; // #5
       
    37     class #27; // #6
       
    38     class #28; // #7
       
    39     class #29; // #8
       
    40     Utf8 "Member"; // #9
       
    41     Utf8 "InnerClasses"; // #10
       
    42     Utf8 "<init>"; // #11
       
    43     Utf8 "()V"; // #12
       
    44     Utf8 "Code"; // #13
       
    45     Utf8 "LineNumberTable"; // #14
       
    46     Utf8 "doInvoke"; // #15
       
    47     Utf8 "doConstruct"; // #16
       
    48     Utf8 "doGetField"; // #17
       
    49     Utf8 "doPutField"; // #18
       
    50     Utf8 "SourceFile"; // #19
       
    51     Utf8 "PackagedNestHost.java"; // #20
       
    52     Utf8 "NestMembers"; // #21
       
    53     NameAndType #11 #12; // #22
       
    54     NameAndType #30 #12; // #23
       
    55     class #31; // #24
       
    56     Utf8 "P2/PackagedNestHost2$Member"; // #25
       
    57     NameAndType #32 #33; // #26
       
    58     Utf8 "P1/PackagedNestHost"; // #27
       
    59     Utf8 "java/lang/Object"; // #28
       
    60     Utf8 "P1/PackagedNestHost$Member"; // #29
       
    61     Utf8 "m"; // #30
       
    62     Utf8 "P2/PackagedNestHost2"; // #31
       
    63     Utf8 "f"; // #32
       
    64     Utf8 "I"; // #33
       
    65   } // Constant Pool
       
    66 
       
    67   0x0021; // access
       
    68   #6;// this_cpx
       
    69   #7;// super_cpx
       
    70 
       
    71   [] { // Interfaces
       
    72   } // Interfaces
       
    73 
       
    74   [] { // fields
       
    75   } // fields
       
    76 
       
    77   [] { // methods
       
    78     { // Member
       
    79       0x0001; // access
       
    80       #11; // name_cpx
       
    81       #12; // sig_cpx
       
    82       [] { // Attributes
       
    83         Attr(#13) { // Code
       
    84           1; // max_stack
       
    85           1; // max_locals
       
    86           Bytes[]{
       
    87             0x2AB70001B1;
       
    88           };
       
    89           [] { // Traps
       
    90           } // end Traps
       
    91           [] { // Attributes
       
    92             Attr(#14) { // LineNumberTable
       
    93               [] { // LineNumberTable
       
    94                 0  31;
       
    95               }
       
    96             } // end LineNumberTable
       
    97           } // Attributes
       
    98         } // end Code
       
    99       } // Attributes
       
   100     } // Member
       
   101     ;
       
   102     { // Member
       
   103       0x0009; // access
       
   104       #15; // name_cpx
       
   105       #12; // sig_cpx
       
   106       [] { // Attributes
       
   107         Attr(#13) { // Code
       
   108           0; // max_stack
       
   109           0; // max_locals
       
   110           Bytes[]{
       
   111             0xB80002B1;
       
   112           };
       
   113           [] { // Traps
       
   114           } // end Traps
       
   115           [] { // Attributes
       
   116             Attr(#14) { // LineNumberTable
       
   117               [] { // LineNumberTable
       
   118                 0  47;
       
   119                 3  48;
       
   120               }
       
   121             } // end LineNumberTable
       
   122           } // Attributes
       
   123         } // end Code
       
   124       } // Attributes
       
   125     } // Member
       
   126     ;
       
   127     { // Member
       
   128       0x0009; // access
       
   129       #16; // name_cpx
       
   130       #12; // sig_cpx
       
   131       [] { // Attributes
       
   132         Attr(#13) { // Code
       
   133           2; // max_stack
       
   134           1; // max_locals
       
   135           Bytes[]{
       
   136             0xBB000359B700044B;
       
   137             0xB1;
       
   138           };
       
   139           [] { // Traps
       
   140           } // end Traps
       
   141           [] { // Attributes
       
   142             Attr(#14) { // LineNumberTable
       
   143               [] { // LineNumberTable
       
   144                 0  51;
       
   145                 8  52;
       
   146               }
       
   147             } // end LineNumberTable
       
   148           } // Attributes
       
   149         } // end Code
       
   150       } // Attributes
       
   151     } // Member
       
   152     ;
       
   153     { // Member
       
   154       0x0009; // access
       
   155       #17; // name_cpx
       
   156       #12; // sig_cpx
       
   157       [] { // Attributes
       
   158         Attr(#13) { // Code
       
   159           1; // max_stack
       
   160           1; // max_locals
       
   161           Bytes[]{
       
   162             0xB200053BB1;
       
   163           };
       
   164           [] { // Traps
       
   165           } // end Traps
       
   166           [] { // Attributes
       
   167             Attr(#14) { // LineNumberTable
       
   168               [] { // LineNumberTable
       
   169                 0  55;
       
   170                 4  56;
       
   171               }
       
   172             } // end LineNumberTable
       
   173           } // Attributes
       
   174         } // end Code
       
   175       } // Attributes
       
   176     } // Member
       
   177     ;
       
   178     { // Member
       
   179       0x0009; // access
       
   180       #18; // name_cpx
       
   181       #12; // sig_cpx
       
   182       [] { // Attributes
       
   183         Attr(#13) { // Code
       
   184           1; // max_stack
       
   185           0; // max_locals
       
   186           Bytes[]{
       
   187             0x102AB30005B1;
       
   188           };
       
   189           [] { // Traps
       
   190           } // end Traps
       
   191           [] { // Attributes
       
   192             Attr(#14) { // LineNumberTable
       
   193               [] { // LineNumberTable
       
   194                 0  59;
       
   195                 5  60;
       
   196               }
       
   197             } // end LineNumberTable
       
   198           } // Attributes
       
   199         } // end Code
       
   200       } // Attributes
       
   201     } // Member
       
   202   } // methods
       
   203 
       
   204   [] { // Attributes
       
   205     Attr(#19) { // SourceFile
       
   206       #20;
       
   207     } // end SourceFile
       
   208     ;
       
   209     Attr(#21) { // NestMembers
       
   210       0x00010003; // modified - #3
       
   211     } // end NestMembers
       
   212     ;
       
   213     Attr(#10) { // InnerClasses
       
   214       [] { // InnerClasses
       
   215         #8 #6 #9 9;
       
   216         #3 #24 #9 9;
       
   217       }
       
   218     } // end InnerClasses
       
   219   } // Attributes
       
   220 } // end class P1/PackagedNestHost