test/hotspot/jtreg/runtime/Nestmates/privateMethods/MissingNestHost.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 // Generated from the source in TestInvokeErrors.java
       
    25 // with NestHost referring to non-existent class: NoSuchClass
       
    26 
       
    27 class TestInvokeErrors$MissingNestHost {
       
    28   0xCAFEBABE;
       
    29   0; // minor version
       
    30   55; // version
       
    31   [] { // Constant Pool
       
    32     ; // first element is empty
       
    33     Method #6 #16; // #1
       
    34     Field #17 #18; // #2
       
    35     String #19; // #3
       
    36     Method #20 #21; // #4
       
    37     class #22; // #5
       
    38     class #25; // #6
       
    39     Utf8 "<init>"; // #7
       
    40     Utf8 "()V"; // #8
       
    41     Utf8 "Code"; // #9
       
    42     Utf8 "LineNumberTable"; // #10
       
    43     Utf8 "priv_invoke"; // #11
       
    44     Utf8 "SourceFile"; // #12
       
    45     Utf8 "TestInvokeErrors.java"; // #13
       
    46     Utf8 "NestHost"; // #14
       
    47     class #26; // #15
       
    48     NameAndType #7 #8; // #16
       
    49     class #27; // #17
       
    50     NameAndType #28 #29; // #18
       
    51     Utf8 "MissingNestHost::priv_invoke"; // #19
       
    52     class #30; // #20
       
    53     NameAndType #31 #32; // #21
       
    54     Utf8 "TestInvokeErrors$MissingNestHost"; // #22
       
    55     Utf8 "MissingNestHost"; // #23
       
    56     Utf8 "InnerClasses"; // #24
       
    57     Utf8 "java/lang/Object"; // #25
       
    58     Utf8 "TestInvokeErrors"; // #26
       
    59     Utf8 "java/lang/System"; // #27
       
    60     Utf8 "out"; // #28
       
    61     Utf8 "Ljava/io/PrintStream;"; // #29
       
    62     Utf8 "java/io/PrintStream"; // #30
       
    63     Utf8 "println"; // #31
       
    64     Utf8 "(Ljava/lang/String;)V"; // #32
       
    65     Utf8 "NoSuchClass"; // #33 - added
       
    66     class #33; // #34 - added
       
    67   } // Constant Pool
       
    68 
       
    69   0x0020; // access
       
    70   #5;// this_cpx
       
    71   #6;// super_cpx
       
    72 
       
    73   [] { // Interfaces
       
    74   } // Interfaces
       
    75 
       
    76   [] { // fields
       
    77   } // fields
       
    78 
       
    79   [] { // methods
       
    80     { // Member
       
    81       0x0000; // access
       
    82       #7; // name_cpx
       
    83       #8; // sig_cpx
       
    84       [] { // Attributes
       
    85         Attr(#9) { // Code
       
    86           1; // max_stack
       
    87           1; // max_locals
       
    88           Bytes[]{
       
    89             0x2AB70001B1;
       
    90           };
       
    91           [] { // Traps
       
    92           } // end Traps
       
    93           [] { // Attributes
       
    94             Attr(#10) { // LineNumberTable
       
    95               [] { // LineNumberTable
       
    96                 0  57;
       
    97               }
       
    98             } // end LineNumberTable
       
    99           } // Attributes
       
   100         } // end Code
       
   101       } // Attributes
       
   102     } // Member
       
   103     ;
       
   104     { // Member
       
   105       0x0002; // access
       
   106       #11; // name_cpx
       
   107       #8; // sig_cpx
       
   108       [] { // Attributes
       
   109         Attr(#9) { // Code
       
   110           2; // max_stack
       
   111           1; // max_locals
       
   112           Bytes[]{
       
   113             0xB200021203B60004;
       
   114             0xB1;
       
   115           };
       
   116           [] { // Traps
       
   117           } // end Traps
       
   118           [] { // Attributes
       
   119             Attr(#10) { // LineNumberTable
       
   120               [] { // LineNumberTable
       
   121                 0  60;
       
   122                 8  61;
       
   123               }
       
   124             } // end LineNumberTable
       
   125           } // Attributes
       
   126         } // end Code
       
   127       } // Attributes
       
   128     } // Member
       
   129   } // methods
       
   130 
       
   131   [] { // Attributes
       
   132     Attr(#12) { // SourceFile
       
   133       #13;
       
   134     } // end SourceFile
       
   135     ;
       
   136     Attr(#14) { // NestHost
       
   137       0x0022; // Modified: class #34 -> NoSuchClass
       
   138     } // end NestHost
       
   139     ;
       
   140     Attr(#24) { // InnerClasses
       
   141       [] { // InnerClasses
       
   142         #5 #15 #23 8;
       
   143       }
       
   144     } // end InnerClasses
       
   145   } // Attributes
       
   146 } // end class TestInvokeErrors$MissingNestHost