|
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: ExternalSub.java |
|
25 |
|
26 Super constructor call is changed from the public NestedA(int) |
|
27 constructor to the private NestedA() constructor. |
|
28 */ |
|
29 |
|
30 class ExternalSub { |
|
31 0xCAFEBABE; |
|
32 0; // minor version |
|
33 55; // version |
|
34 [] { // Constant Pool |
|
35 ; // first element is empty |
|
36 Method #3 #10; // #1 |
|
37 class #11; // #2 |
|
38 class #13; // #3 |
|
39 Utf8 "<init>"; // #4 |
|
40 Utf8 "()V"; // #5 |
|
41 Utf8 "Code"; // #6 |
|
42 Utf8 "LineNumberTable"; // #7 |
|
43 Utf8 "SourceFile"; // #8 |
|
44 Utf8 "TestConstructorHierarchy.java"; // #9 |
|
45 NameAndType #4 #5; // #10 - modified #16 to #5 |
|
46 Utf8 "ExternalSub"; // #11 |
|
47 class #17; // #12 |
|
48 Utf8 "TestConstructorHierarchy$NestedA"; // #13 |
|
49 Utf8 "NestedA"; // #14 |
|
50 Utf8 "InnerClasses"; // #15 |
|
51 Utf8 "(I)V"; // #16 |
|
52 Utf8 "TestConstructorHierarchy"; // #17 |
|
53 } // Constant Pool |
|
54 |
|
55 0x0020; // access |
|
56 #2;// this_cpx |
|
57 #3;// super_cpx |
|
58 |
|
59 [] { // Interfaces |
|
60 } // Interfaces |
|
61 |
|
62 [] { // fields |
|
63 } // fields |
|
64 |
|
65 [] { // methods |
|
66 { // Member |
|
67 0x0001 // access |
|
68 #4; // name_cpx |
|
69 #5; // sig_cpx |
|
70 [] { // Attributes |
|
71 Attr(#6) { // Code |
|
72 1; // max_stack - modified from 2 |
|
73 1; // max_locals |
|
74 Bytes[]{ |
|
75 0x2AB70001B1; |
|
76 }; |
|
77 [] { // Traps |
|
78 } // end Traps |
|
79 [] { // Attributes |
|
80 Attr(#7) { // LineNumberTable |
|
81 [] { // LineNumberTable |
|
82 0 84; |
|
83 // 5 85; |
|
84 } |
|
85 } // end LineNumberTable |
|
86 } // Attributes |
|
87 } // end Code |
|
88 } // Attributes |
|
89 } // Member |
|
90 } // methods |
|
91 |
|
92 [] { // Attributes |
|
93 Attr(#8) { // SourceFile |
|
94 #9; |
|
95 } // end SourceFile |
|
96 ; |
|
97 Attr(#15) { // InnerClasses |
|
98 [] { // InnerClasses |
|
99 #3 #12 #14 8; |
|
100 } |
|
101 } // end InnerClasses |
|
102 } // Attributes |
|
103 } // end class ExternalSub |