< prev index next >

test/hotspot/jtreg/runtime/InnerClassesAttr/OuterTest1.jcod

Print this page

 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 
 25 /*
 26 class OuterTest1 {
 27     class Inner {
 28         public void foo() { System.out.println("Inner.foo"); }
 29     };
 30 }
 31 
 32 Nested class acccess flags are made invalid in this jcod file.
 33 */
 34 
 35 class OuterTest1 {
 36   0xCAFEBABE;
 37   0; // minor version
 38   70; // version
 39   [] { // Constant Pool
 40     ; // first element is empty
 41     Method #2 #3; // #1
 42     class #4; // #2
 43     NameAndType #5 #6; // #3
 44     Utf8 "java/lang/Object"; // #4
 45     Utf8 "<init>"; // #5
 46     Utf8 "()V"; // #6
 47     class #8; // #7
 48     Utf8 "OuterTest1"; // #8
 49     Utf8 "Code"; // #9
 50     Utf8 "LineNumberTable"; // #10
 51     Utf8 "SourceFile"; // #11
 52     Utf8 "OuterTest1.java"; // #12
 53     Utf8 "NestMembers"; // #13
 54     class #15; // #14
 55     Utf8 "OuterTest1$Inner"; // #15
 56     Utf8 "InnerClasses"; // #16
 57     Utf8 "Inner"; // #17
 58   } // Constant Pool

 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 
 25 /*
 26 class OuterTest1 {
 27     class Inner {
 28         public void foo() { System.out.println("Inner.foo"); }
 29     };
 30 }
 31 
 32 Nested class acccess flags are made invalid in this jcod file.
 33 */
 34 
 35 class OuterTest1 {
 36   0xCAFEBABE;
 37   0; // minor version
 38   71; // version
 39   [] { // Constant Pool
 40     ; // first element is empty
 41     Method #2 #3; // #1
 42     class #4; // #2
 43     NameAndType #5 #6; // #3
 44     Utf8 "java/lang/Object"; // #4
 45     Utf8 "<init>"; // #5
 46     Utf8 "()V"; // #6
 47     class #8; // #7
 48     Utf8 "OuterTest1"; // #8
 49     Utf8 "Code"; // #9
 50     Utf8 "LineNumberTable"; // #10
 51     Utf8 "SourceFile"; // #11
 52     Utf8 "OuterTest1.java"; // #12
 53     Utf8 "NestMembers"; // #13
 54     class #15; // #14
 55     Utf8 "OuterTest1$Inner"; // #15
 56     Utf8 "InnerClasses"; // #16
 57     Utf8 "Inner"; // #17
 58   } // Constant Pool
< prev index next >