--- /dev/null 2016-12-30 14:52:30.584485998 -0500 +++ new/test/hotspot/jtreg/runtime/Nestmates/membership/CallerNotOurHost.jcod 2017-10-26 03:07:41.349791768 -0400 @@ -0,0 +1,206 @@ +/* + * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +// NestHost attribute refers to class with no nest + +class TestNestmateMembership$CallerNotOurHost { + 0xCAFEBABE; + 0; // minor version + 53; // version + [] { // Constant Pool + ; // first element is empty + Method #8 #20; // #1 + Field #21 #22; // #2 + String #23; // #3 + Method #24 #25; // #4 + Method #26 #27; // #5 + Method #28 #27; // #6 + class #29; // #7 + class #32; // #8 + Utf8 ""; // #9 + Utf8 "()V"; // #10 + Utf8 "Code"; // #11 + Utf8 "LineNumberTable"; // #12 + Utf8 "m"; // #13 + Utf8 "invokeTarget"; // #14 + Utf8 "invokeTargetNotOurHost"; // #15 + Utf8 "SourceFile"; // #16 + Utf8 "TestNestmateMembership.java"; // #17 + Utf8 "NestHost"; // #18 + class #33; // #19 + NameAndType #9 #10; // #20 + class #34; // #21 + NameAndType #35 #36; // #22 + Utf8 "CallerNotOurHost.m() - java version"; // #23 + class #37; // #24 + NameAndType #38 #39; // #25 + class #40; // #26 + NameAndType #13 #10; // #27 + class #42; // #28 + Utf8 "TestNestmateMembership$CallerNotOurHost"; // #29 + Utf8 "CallerNotOurHost"; // #30 + Utf8 "InnerClasses"; // #31 + Utf8 "java/lang/Object"; // #32 + Utf8 "TestNestmateMembership"; // #33 + Utf8 "java/lang/System"; // #34 + Utf8 "out"; // #35 + Utf8 "Ljava/io/PrintStream;"; // #36 + Utf8 "java/io/PrintStream"; // #37 + Utf8 "println"; // #38 + Utf8 "(Ljava/lang/String;)V"; // #39 + Utf8 "TestNestmateMembership$Target"; // #40 + Utf8 "Target"; // #41 + Utf8 "TestNestmateMembership$TargetNotOurHost"; // #42 + Utf8 "TargetNotOurHost"; // #43 + } // Constant Pool + + 0x0020; // access + #7;// this_cpx + #8;// super_cpx + + [] { // Interfaces + } // Interfaces + + [] { // fields + } // fields + + [] { // methods + { // Member + 0x0000; // access + #9; // name_cpx + #10; // sig_cpx + [] { // Attributes + Attr(#11) { // Code + 1; // max_stack + 1; // max_locals + Bytes[]{ + 0x2AB70001B1; + }; + [] { // Traps + } // end Traps + [] { // Attributes + Attr(#12) { // LineNumberTable + [] { // LineNumberTable + 0 117; + } + } // end LineNumberTable + } // Attributes + } // end Code + } // Attributes + } // Member + ; + { // Member + 0x000A; // access + #13; // name_cpx + #10; // sig_cpx + [] { // Attributes + Attr(#11) { // Code + 2; // max_stack + 0; // max_locals + Bytes[]{ + 0xB200021203B60004; + 0xB1; + }; + [] { // Traps + } // end Traps + [] { // Attributes + Attr(#12) { // LineNumberTable + [] { // LineNumberTable + 0 119; + 8 120; + } + } // end LineNumberTable + } // Attributes + } // end Code + } // Attributes + } // Member + ; + { // Member + 0x0009; // access + #14; // name_cpx + #10; // sig_cpx + [] { // Attributes + Attr(#11) { // Code + 0; // max_stack + 0; // max_locals + Bytes[]{ + 0xB80005B1; + }; + [] { // Traps + } // end Traps + [] { // Attributes + Attr(#12) { // LineNumberTable + [] { // LineNumberTable + 0 122; + 3 123; + } + } // end LineNumberTable + } // Attributes + } // end Code + } // Attributes + } // Member + ; + { // Member + 0x0009; // access + #15; // name_cpx + #10; // sig_cpx + [] { // Attributes + Attr(#11) { // Code + 0; // max_stack + 0; // max_locals + Bytes[]{ + 0xB80006B1; + }; + [] { // Traps + } // end Traps + [] { // Attributes + Attr(#12) { // LineNumberTable + [] { // LineNumberTable + 0 125; + 3 126; + } + } // end LineNumberTable + } // Attributes + } // end Code + } // Attributes + } // Member + } // methods + + [] { // Attributes + Attr(#16) { // SourceFile + #17; + } // end SourceFile + ; + Attr(#18) { // NestHost + 0x0008; // modified - #8 + } // end NestHost + ; + Attr(#31) { // InnerClasses + [] { // InnerClasses + #7 #19 #30 8; + #26 #19 #41 8; + #28 #19 #43 8; + } + } // end InnerClasses + } // Attributes +} // end class TestNestmateMembership$CallerNotOurHost