--- /dev/null 2016-12-30 14:52:30.584485998 -0500 +++ new/test/hotspot/jtreg/runtime/Nestmates/membership/CallerMissingHost.jcod 2017-10-26 03:07:28.449054757 -0400 @@ -0,0 +1,222 @@ +/* + * 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 non-existent class + +class TestNestmateMembership$CallerMissingHost { + 0xCAFEBABE; + 0; // minor version + 53; // version + [] { // Constant Pool + ; // first element is empty + Method #10 #24; // #1 + String #25; // #2 + Field #9 #26; // #3 + Field #27 #28; // #4 + String #29; // #5 + Method #30 #31; // #6 + Method #32 #33; // #7 + Method #34 #33; // #8 + class #35; // #9 + class #38; // #10 + Utf8 "msg"; // #11 + Utf8 "Ljava/lang/String;"; // #12 + Utf8 ""; // #13 + Utf8 "()V"; // #14 + Utf8 "Code"; // #15 + Utf8 "LineNumberTable"; // #16 + Utf8 "m"; // #17 + Utf8 "invokeTarget"; // #18 + Utf8 "invokeTargetMissingHost"; // #19 + Utf8 "SourceFile"; // #20 + Utf8 "TestNestmateMembership.java"; // #21 + Utf8 "NestHost"; // #22 + class #39; // #23 + NameAndType #13 #14; // #24 + Utf8 "NoCallerMissingHost"; // #25 + NameAndType #11 #12; // #26 + class #40; // #27 + NameAndType #41 #42; // #28 + Utf8 "CallerMissingHost.m() - java version"; // #29 + class #43; // #30 + NameAndType #44 #45; // #31 + class #46; // #32 + NameAndType #17 #14; // #33 + class #48; // #34 + Utf8 "TestNestmateMembership$CallerMissingHost"; // #35 + Utf8 "CallerMissingHost"; // #36 + Utf8 "InnerClasses"; // #37 + Utf8 "java/lang/Object"; // #38 + Utf8 "TestNestmateMembership"; // #39 + Utf8 "java/lang/System"; // #40 + Utf8 "out"; // #41 + Utf8 "Ljava/io/PrintStream;"; // #42 + Utf8 "java/io/PrintStream"; // #43 + Utf8 "println"; // #44 + Utf8 "(Ljava/lang/String;)V"; // #45 + Utf8 "TestNestmateMembership$Target"; // #46 + Utf8 "Target"; // #47 + Utf8 "TestNestmateMembership$TargetMissingHost"; // #48 + Utf8 "TargetMissingHost"; // #49 + class #25; // #50 - added + } // Constant Pool + + 0x0020; // access + #9;// this_cpx + #10;// super_cpx + + [] { // Interfaces + } // Interfaces + + [] { // fields + { // Member + 0x0000; // access + #11; // name_cpx + #12; // sig_cpx + [] { // Attributes + } // Attributes + } // Member + } // fields + + [] { // methods + { // Member + 0x0000; // access + #13; // name_cpx + #14; // sig_cpx + [] { // Attributes + Attr(#15) { // Code + 2; // max_stack + 1; // max_locals + Bytes[]{ + 0x2AB700012A1202B5; + 0x0003B1; + }; + [] { // Traps + } // end Traps + [] { // Attributes + Attr(#16) { // LineNumberTable + [] { // LineNumberTable + 0 91; + 4 92; + } + } // end LineNumberTable + } // Attributes + } // end Code + } // Attributes + } // Member + ; + { // Member + 0x000A; // access + #17; // name_cpx + #14; // sig_cpx + [] { // Attributes + Attr(#15) { // Code + 2; // max_stack + 0; // max_locals + Bytes[]{ + 0xB200041205B60006; + 0xB1; + }; + [] { // Traps + } // end Traps + [] { // Attributes + Attr(#16) { // LineNumberTable + [] { // LineNumberTable + 0 94; + 8 95; + } + } // end LineNumberTable + } // Attributes + } // end Code + } // Attributes + } // Member + ; + { // Member + 0x0009; // access + #18; // name_cpx + #14; // sig_cpx + [] { // Attributes + Attr(#15) { // Code + 0; // max_stack + 0; // max_locals + Bytes[]{ + 0xB80007B1; + }; + [] { // Traps + } // end Traps + [] { // Attributes + Attr(#16) { // LineNumberTable + [] { // LineNumberTable + 0 97; + 3 98; + } + } // end LineNumberTable + } // Attributes + } // end Code + } // Attributes + } // Member + ; + { // Member + 0x0009; // access + #19; // name_cpx + #14; // sig_cpx + [] { // Attributes + Attr(#15) { // Code + 0; // max_stack + 0; // max_locals + Bytes[]{ + 0xB80008B1; + }; + [] { // Traps + } // end Traps + [] { // Attributes + Attr(#16) { // LineNumberTable + [] { // LineNumberTable + 0 100; + 3 101; + } + } // end LineNumberTable + } // Attributes + } // end Code + } // Attributes + } // Member + } // methods + + [] { // Attributes + Attr(#20) { // SourceFile + #21; + } // end SourceFile + ; + Attr(#22) { // NestHost + 0x0032; // modified - #50 + } // end NestHost + ; + Attr(#37) { // InnerClasses + [] { // InnerClasses + #9 #23 #36 8; + #32 #23 #47 8; + #34 #23 #49 8; + } + } // end InnerClasses + } // Attributes +} // end class TestNestmateMembership$CallerMissingHost