1 /* 2 * Copyright (c) 2017, 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 53; // version 30 [] { // Constant Pool 31 ; // first element is empty 32 Method #4 #16; // #1 33 Method #17 #18; // #2 34 class #19; // #3 35 class #20; // #4 36 class #21; // #5 37 Utf8 "Member"; // #6 38 Utf8 "InnerClasses"; // #7 39 Utf8 "<init>"; // #8 40 Utf8 "()V"; // #9 41 Utf8 "Code"; // #10 42 Utf8 "LineNumberTable"; // #11 43 Utf8 "doAccess"; // #12 44 Utf8 "SourceFile"; // #13 45 Utf8 "PackagedNestHost.java"; // #14 46 Utf8 "NestMembers"; // #15 47 NameAndType #8 #9; // #16 48 class #23; // #17 49 NameAndType #24 #9; // #18 50 Utf8 "P1/PackagedNestHost"; // #19 51 Utf8 "java/lang/Object"; // #20 52 Utf8 "P1/PackagedNestHost$Member"; // #21 53 class #25; // #22 54 Utf8 "P2/PackagedNestHost2$Member"; // #23 55 Utf8 "m"; // #24 56 Utf8 "P2/PackagedNestHost2"; // #25 57 } // Constant Pool 58 59 0x0021; // access 60 #3;// this_cpx 61 #4;// super_cpx 62 63 [] { // Interfaces 64 } // Interfaces 65 66 [] { // fields 67 } // fields 68 69 [] { // methods 70 { // Member 71 0x0001; // access 72 #8; // name_cpx 73 #9; // sig_cpx 74 [] { // Attributes 75 Attr(#10) { // Code 76 1; // max_stack 77 1; // max_locals 78 Bytes[]{ 79 0x2AB70001B1; 80 }; 81 [] { // Traps 82 } // end Traps 83 [] { // Attributes 84 Attr(#11) { // LineNumberTable 85 [] { // LineNumberTable 86 0 31; 87 } 88 } // end LineNumberTable 89 } // Attributes 90 } // end Code 91 } // Attributes 92 } // Member 93 ; 94 { // Member 95 0x0009; // access 96 #12; // name_cpx 97 #9; // sig_cpx 98 [] { // Attributes 99 Attr(#10) { // Code 100 0; // max_stack 101 0; // max_locals 102 Bytes[]{ 103 0xB80002B1; 104 }; 105 [] { // Traps 106 } // end Traps 107 [] { // Attributes 108 Attr(#11) { // LineNumberTable 109 [] { // LineNumberTable 110 0 44; 111 3 45; 112 } 113 } // end LineNumberTable 114 } // Attributes 115 } // end Code 116 } // Attributes 117 } // Member 118 } // methods 119 120 [] { // Attributes 121 Attr(#13) { // SourceFile 122 #14; 123 } // end SourceFile 124 ; 125 Attr(#15) { // NestMembers 126 0x00010011; // modified - #17 127 } // end NestMembers 128 ; 129 Attr(#7) { // InnerClasses 130 [] { // InnerClasses 131 #5 #3 #6 9; 132 #17 #22 #6 9; 133 } 134 } // end InnerClasses 135 } // Attributes 136 } // end class P1/PackagedNestHost