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-existent class 25 26 class TestNestmateMembership$TargetMissingHost { 27 0xCAFEBABE; 28 0; // minor version 29 55; // version 30 [] { // Constant Pool 31 ; // first element is empty 32 Method #8 #22; // #1 33 String #23; // #2 34 Field #7 #24; // #3 35 Field #25 #26; // #4 36 String #27; // #5 37 Method #28 #29; // #6 38 class #30; // #7 39 class #33; // #8 40 Utf8 "msg"; // #9 41 Utf8 "Ljava/lang/String;"; // #10 42 Utf8 "f"; // #11 43 Utf8 "I"; // #12 44 Utf8 "<init>"; // #13 45 Utf8 "()V"; // #14 46 Utf8 "Code"; // #15 47 Utf8 "LineNumberTable"; // #16 48 Utf8 "m"; // #17 49 Utf8 "SourceFile"; // #18 50 Utf8 "TestNestmateMembership.java"; // #19 51 Utf8 "NestHost"; // #20 52 class #34; // #21 53 NameAndType #13 #14; // #22 54 Utf8 "NoTargetMissingHost"; // #23 55 NameAndType #9 #10; // #24 56 class #35; // #25 57 NameAndType #36 #37; // #26 58 Utf8 "TargetMissingHost.m() - java version"; // #27 59 class #38; // #28 60 NameAndType #39 #40; // #29 61 Utf8 "TestNestmateMembership$TargetMissingHost"; // #30 62 Utf8 "TargetMissingHost"; // #31 63 Utf8 "InnerClasses"; // #32 64 Utf8 "java/lang/Object"; // #33 65 Utf8 "TestNestmateMembership"; // #34 66 Utf8 "java/lang/System"; // #35 67 Utf8 "out"; // #36 68 Utf8 "Ljava/io/PrintStream;"; // #37 69 Utf8 "java/io/PrintStream"; // #38 70 Utf8 "println"; // #39 71 Utf8 "(Ljava/lang/String;)V"; // #40 72 class #23; // #41 - added 73 } // Constant Pool 74 75 0x0020; // access 76 #7;// this_cpx 77 #8;// super_cpx 78 79 [] { // Interfaces 80 } // Interfaces 81 82 [] { // fields 83 { // Member 84 0x0000; // access 85 #9; // name_cpx 86 #10; // sig_cpx 87 [] { // Attributes 88 } // Attributes 89 } // Member 90 ; 91 { // Member 92 0x000A; // access 93 #11; // name_cpx 94 #12; // sig_cpx 95 [] { // Attributes 96 } // Attributes 97 } // Member 98 } // fields 99 100 [] { // methods 101 { // Member 102 0x0002; // access 103 #13; // name_cpx 104 #14; // sig_cpx 105 [] { // Attributes 106 Attr(#15) { // Code 107 2; // max_stack 108 1; // max_locals 109 Bytes[]{ 110 0x2AB700012A1202B5; 111 0x0003B1; 112 }; 113 [] { // Traps 114 } // end Traps 115 [] { // Attributes 116 Attr(#16) { // LineNumberTable 117 [] { // LineNumberTable 118 0 354; 119 4 353; 120 10 354; 121 } 122 } // end LineNumberTable 123 } // Attributes 124 } // end Code 125 } // Attributes 126 } // Member 127 ; 128 { // Member 129 0x000A; // access 130 #17; // name_cpx 131 #14; // sig_cpx 132 [] { // Attributes 133 Attr(#15) { // Code 134 2; // max_stack 135 0; // max_locals 136 Bytes[]{ 137 0xB200041205B60006; 138 0xB1; 139 }; 140 [] { // Traps 141 } // end Traps 142 [] { // Attributes 143 Attr(#16) { // LineNumberTable 144 [] { // LineNumberTable 145 0 357; 146 8 358; 147 } 148 } // end LineNumberTable 149 } // Attributes 150 } // end Code 151 } // Attributes 152 } // Member 153 } // methods 154 155 [] { // Attributes 156 Attr(#18) { // SourceFile 157 #19; 158 } // end SourceFile 159 ; 160 Attr(#20) { // NestHost 161 0x0029; // modified #41 162 } // end NestHost 163 ; 164 Attr(#32) { // InnerClasses 165 [] { // InnerClasses 166 #7 #21 #31 8; 167 } 168 } // end InnerClasses 169 } // Attributes 170 } // end class TestNestmateMembership$TargetMissingHost