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