annotate test/runtime/Nestmates/membership/NotAMember2.jcod @ 13401:073ad89cfa90

8186074: [Nestmates] Initial push for nestmates support Summary: Add initial Hotspot support for nestmates Reviewed-by: acorn
author mcimadamore
date Thu, 10 Aug 2017 15:01:17 +0100
parents
children f2e4f1de7ace
rev   line source
mcimadamore@13401 1 /*
mcimadamore@13401 2 * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
mcimadamore@13401 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
mcimadamore@13401 4 *
mcimadamore@13401 5 * This code is free software; you can redistribute it and/or modify it
mcimadamore@13401 6 * under the terms of the GNU General Public License version 2 only, as
mcimadamore@13401 7 * published by the Free Software Foundation.
mcimadamore@13401 8 *
mcimadamore@13401 9 * This code is distributed in the hope that it will be useful, but WITHOUT
mcimadamore@13401 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
mcimadamore@13401 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
mcimadamore@13401 12 * version 2 for more details (a copy is included in the LICENSE file that
mcimadamore@13401 13 * accompanied this code).
mcimadamore@13401 14 *
mcimadamore@13401 15 * You should have received a copy of the GNU General Public License version
mcimadamore@13401 16 * 2 along with this work; if not, write to the Free Software Foundation,
mcimadamore@13401 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
mcimadamore@13401 18 *
mcimadamore@13401 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
mcimadamore@13401 20 * or visit www.oracle.com if you need additional information or have any
mcimadamore@13401 21 * questions.
mcimadamore@13401 22 */
mcimadamore@13401 23
mcimadamore@13401 24 /* Generated from:
mcimadamore@13401 25
mcimadamore@13401 26 public class TestNestMaterMembership {
mcimadamore@13401 27 public static class Nested {}
mcimadamore@13401 28 }
mcimadamore@13401 29 */
mcimadamore@13401 30
mcimadamore@13401 31 // Class NotAMember2 claims to be in the nest of TestNestmateMembership but isn't
mcimadamore@13401 32
mcimadamore@13401 33 class NotAMember2 {
mcimadamore@13401 34 0xCAFEBABE;
mcimadamore@13401 35 0; // minor version
mcimadamore@13401 36 53; // version
mcimadamore@13401 37 [] { // Constant Pool
mcimadamore@13401 38 ; // first element is empty
mcimadamore@13401 39 Method #3 #14; // #1
mcimadamore@13401 40 class #15; // #2
mcimadamore@13401 41 class #18; // #3
mcimadamore@13401 42 Utf8 "obj"; // #4
mcimadamore@13401 43 Utf8 "[Ljava/lang/Object;"; // #5
mcimadamore@13401 44 Utf8 "<init>"; // #6
mcimadamore@13401 45 Utf8 "()V"; // #7
mcimadamore@13401 46 Utf8 "Code"; // #8
mcimadamore@13401 47 Utf8 "LineNumberTable"; // #9
mcimadamore@13401 48 Utf8 "SourceFile"; // #10
mcimadamore@13401 49 Utf8 "TestNestmateMembership.java"; // #11
mcimadamore@13401 50 Utf8 "MemberOfNest"; // #12
mcimadamore@13401 51 class #19; // #13
mcimadamore@13401 52 NameAndType #6 #7; // #14
mcimadamore@13401 53 Utf8 "NotAMember2"; // #15
mcimadamore@13401 54 Utf8 "Nested"; // #16
mcimadamore@13401 55 Utf8 "InnerClasses"; // #17
mcimadamore@13401 56 Utf8 "java/lang/Object"; // #18
mcimadamore@13401 57 Utf8 "TestNestmateMembership"; // #19
mcimadamore@13401 58 } // Constant Pool
mcimadamore@13401 59
mcimadamore@13401 60 0x0020; // access
mcimadamore@13401 61 #2;// this_cpx
mcimadamore@13401 62 #3;// super_cpx
mcimadamore@13401 63
mcimadamore@13401 64 [] { // Interfaces
mcimadamore@13401 65 } // Interfaces
mcimadamore@13401 66
mcimadamore@13401 67 [] { // fields
mcimadamore@13401 68 { // Member
mcimadamore@13401 69 0x0000; // access
mcimadamore@13401 70 #4; // name_cpx
mcimadamore@13401 71 #5; // sig_cpx
mcimadamore@13401 72 [] { // Attributes
mcimadamore@13401 73 } // Attributes
mcimadamore@13401 74 } // Member
mcimadamore@13401 75 } // fields
mcimadamore@13401 76
mcimadamore@13401 77 [] { // methods
mcimadamore@13401 78 { // Member
mcimadamore@13401 79 0x0000; // access
mcimadamore@13401 80 #6; // name_cpx
mcimadamore@13401 81 #7; // sig_cpx
mcimadamore@13401 82 [] { // Attributes
mcimadamore@13401 83 Attr(#8) { // Code
mcimadamore@13401 84 1; // max_stack
mcimadamore@13401 85 1; // max_locals
mcimadamore@13401 86 Bytes[]{
mcimadamore@13401 87 0x2AB70001B1;
mcimadamore@13401 88 };
mcimadamore@13401 89 [] { // Traps
mcimadamore@13401 90 } // end Traps
mcimadamore@13401 91 [] { // Attributes
mcimadamore@13401 92 Attr(#9) { // LineNumberTable
mcimadamore@13401 93 [] { // LineNumberTable
mcimadamore@13401 94 0 37;
mcimadamore@13401 95 }
mcimadamore@13401 96 } // end LineNumberTable
mcimadamore@13401 97 } // Attributes
mcimadamore@13401 98 } // end Code
mcimadamore@13401 99 } // Attributes
mcimadamore@13401 100 } // Member
mcimadamore@13401 101 } // methods
mcimadamore@13401 102
mcimadamore@13401 103 [] { // Attributes
mcimadamore@13401 104 Attr(#10) { // SourceFile
mcimadamore@13401 105 #11;
mcimadamore@13401 106 } // end SourceFile
mcimadamore@13401 107 ;
mcimadamore@13401 108 Attr(#12) { // MemberOfNest
mcimadamore@13401 109 0x000D; // refers to TestNestmateMembership
mcimadamore@13401 110 } // end MemberOfNest
mcimadamore@13401 111 ;
mcimadamore@13401 112 Attr(#17) { // InnerClasses
mcimadamore@13401 113 [] { // InnerClasses
mcimadamore@13401 114 #2 #13 #16 8;
mcimadamore@13401 115 }
mcimadamore@13401 116 } // end InnerClasses
mcimadamore@13401 117 } // Attributes
mcimadamore@13401 118 } // end class NotAMember2