test/jdk/java/lang/reflect/Nestmates/HostOfMemberNotInstanceHost.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 refers to non-instance class
       
    25 
       
    26 class HostOfMemberNotInstanceHost$MemberNotInstanceHost {
       
    27   0xCAFEBABE;
       
    28   0; // minor version
       
    29   55; // version
       
    30   [] { // Constant Pool
       
    31     ; // first element is empty
       
    32     Method #3 #14; // #1
       
    33     class #15; // #2
       
    34     class #18; // #3
       
    35     Utf8 "oa"; // #4
       
    36     Utf8 "[LInvalidNestHost;"; // #5
       
    37     Utf8 "<init>"; // #6
       
    38     Utf8 "()V"; // #7
       
    39     Utf8 "Code"; // #8
       
    40     Utf8 "LineNumberTable"; // #9
       
    41     Utf8 "SourceFile"; // #10
       
    42     Utf8 "Hosts.java"; // #11
       
    43     Utf8 "NestHost"; // #12
       
    44     class #19; // #13
       
    45     NameAndType #6 #7; // #14
       
    46     Utf8 "HostOfMemberNotInstanceHost$MemberNotInstanceHost"; // #15
       
    47     Utf8 "MemberNotInstanceHost"; // #16
       
    48     Utf8 "InnerClasses"; // #17
       
    49     Utf8 "java/lang/Object"; // #18
       
    50     Utf8 "HostOfMemberNotInstanceHost"; // #19
       
    51     class #5; // #20 - added
       
    52   } // Constant Pool
       
    53 
       
    54   0x0020; // access
       
    55   #2;// this_cpx
       
    56   #3;// super_cpx
       
    57 
       
    58   [] { // Interfaces
       
    59   } // Interfaces
       
    60 
       
    61   [] { // fields
       
    62     { // Member
       
    63       0x0000; // access
       
    64       #4; // name_cpx
       
    65       #5; // sig_cpx
       
    66       [] { // Attributes
       
    67       } // Attributes
       
    68     } // Member
       
    69   } // fields
       
    70 
       
    71   [] { // methods
       
    72     { // Member
       
    73       0x0000; // access
       
    74       #6; // name_cpx
       
    75       #7; // sig_cpx
       
    76       [] { // Attributes
       
    77         Attr(#8) { // Code
       
    78           1; // max_stack
       
    79           1; // max_locals
       
    80           Bytes[]{
       
    81             0x2AB70001B1;
       
    82           };
       
    83           [] { // Traps
       
    84           } // end Traps
       
    85           [] { // Attributes
       
    86             Attr(#9) { // LineNumberTable
       
    87               [] { // LineNumberTable
       
    88                 0  63;
       
    89               }
       
    90             } // end LineNumberTable
       
    91           } // Attributes
       
    92         } // end Code
       
    93       } // Attributes
       
    94     } // Member
       
    95   } // methods
       
    96 
       
    97   [] { // Attributes
       
    98     Attr(#10) { // SourceFile
       
    99       #11;
       
   100     } // end SourceFile
       
   101     ;
       
   102     Attr(#12) { // NestHost
       
   103       0x0014; // Modified #20
       
   104     } // end NestHost
       
   105     ;
       
   106     Attr(#17) { // InnerClasses
       
   107       [] { // InnerClasses
       
   108         #2 #13 #16 8;
       
   109       }
       
   110     } // end InnerClasses
       
   111   } // Attributes
       
   112 } // end class HostOfMemberNotInstanceHost$MemberNotInstanceHost
       
   113