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 /* Source: NestmateAttributeHolder.java
25
26 public class NestmateAttributeHolder {
27 public static class TwoNestHost {
28 }
29 }
30 */
31
32 // Add second NestHost attribute - should fail parsing
33 class NestmateAttributeHolder$TwoNestHost {
34 0xCAFEBABE;
35 0; // minor version
36 53; // version
37 [] { // Constant Pool
38 ; // first element is empty
39 Method #3 #12; // #1
40 class #13; // #2
41 class #16; // #3
42 Utf8 "<init>"; // #4
43 Utf8 "()V"; // #5
44 Utf8 "Code"; // #6
45 Utf8 "LineNumberTable"; // #7
46 Utf8 "SourceFile"; // #8
47 Utf8 "NestmateAttributeHolder.java"; // #9
48 Utf8 "NestHost"; // #10
49 class #17; // #11
50 NameAndType #4 #5; // #12
51 Utf8 "NestmateAttributeHolder$TwoNestHost"; // #13
52 Utf8 "TwoNestHost"; // #14
53 Utf8 "InnerClasses"; // #15
54 Utf8 "java/lang/Object"; // #16
55 Utf8 "NestmateAttributeHolder"; // #17
56 } // Constant Pool
|
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 /* Source: NestmateAttributeHolder.java
25
26 public class NestmateAttributeHolder {
27 public static class TwoNestHost {
28 }
29 }
30 */
31
32 // Add second NestHost attribute - should fail parsing
33 class NestmateAttributeHolder$TwoNestHost {
34 0xCAFEBABE;
35 0; // minor version
36 54; // version
37 [] { // Constant Pool
38 ; // first element is empty
39 Method #3 #12; // #1
40 class #13; // #2
41 class #16; // #3
42 Utf8 "<init>"; // #4
43 Utf8 "()V"; // #5
44 Utf8 "Code"; // #6
45 Utf8 "LineNumberTable"; // #7
46 Utf8 "SourceFile"; // #8
47 Utf8 "NestmateAttributeHolder.java"; // #9
48 Utf8 "NestHost"; // #10
49 class #17; // #11
50 NameAndType #4 #5; // #12
51 Utf8 "NestmateAttributeHolder$TwoNestHost"; // #13
52 Utf8 "TwoNestHost"; // #14
53 Utf8 "InnerClasses"; // #15
54 Utf8 "java/lang/Object"; // #16
55 Utf8 "NestmateAttributeHolder"; // #17
56 } // Constant Pool
|