c3.jcod revision 10420:c558850fac57
1/* 2 * Copyright (c) 2015, 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/* Small class used by multiple hotspot/runtime/modules/AccessCheck* tests. 25 * package p3; 26 * 27 * public class c3 { 28 * 29 * public c3 () { 30 * c4 c4_obj = new c4(); 31 * c4_obj.method4(); 32 * } 33 * } 34 */ 35 36class p3/c3 { 37 0xCAFEBABE; 38 0; // minor version 39 52; // version 40 [19] { // Constant Pool 41 ; // first element is empty 42 Method #6 #13; // #1 at 0x0A 43 class #14; // #2 at 0x0F 44 Method #2 #13; // #3 at 0x12 45 Method #2 #15; // #4 at 0x17 46 class #16; // #5 at 0x1C 47 class #17; // #6 at 0x1F 48 Utf8 "<init>"; // #7 at 0x22 49 Utf8 "()V"; // #8 at 0x2B 50 Utf8 "Code"; // #9 at 0x31 51 Utf8 "LineNumberTable"; // #10 at 0x38 52 Utf8 "SourceFile"; // #11 at 0x4A 53 Utf8 "c3.java"; // #12 at 0x57 54 NameAndType #7 #8; // #13 at 0x61 55 Utf8 "c4"; // #14 at 0x66 56 NameAndType #18 #8; // #15 at 0x6E 57 Utf8 "p3/c3"; // #16 at 0x73 58 Utf8 "java/lang/Object"; // #17 at 0x7B 59 Utf8 "method4"; // #18 at 0x8E 60 } // Constant Pool 61 62 0x0021; // access 63 #5;// this_cpx 64 #6;// super_cpx 65 66 [0] { // Interfaces 67 } // Interfaces 68 69 [0] { // fields 70 } // fields 71 72 [1] { // methods 73 { // Member at 0xA4 74 0x0001; // access 75 #7; // name_cpx 76 #8; // sig_cpx 77 [1] { // Attributes 78 Attr(#9, 53) { // Code at 0xAC 79 2; // max_stack 80 2; // max_locals 81 Bytes[17]{ 82 0x2AB70001BB000259; 83 0xB700034C2BB60004; 84 0xB1; 85 }; 86 [0] { // Traps 87 } // end Traps 88 [1] { // Attributes 89 Attr(#10, 18) { // LineNumberTable at 0xCF 90 [4] { // LineNumberTable 91 0 4; // at 0xDB 92 4 5; // at 0xDF 93 12 6; // at 0xE3 94 16 7; // at 0xE7 95 } 96 } // end LineNumberTable 97 } // Attributes 98 } // end Code 99 } // Attributes 100 } // Member 101 } // methods 102 103 [1] { // Attributes 104 Attr(#11, 2) { // SourceFile at 0xE9 105 #12; 106 } // end SourceFile 107 } // Attributes 108} // end class p3/c3 109