95bf19563b
Co-authored-by: Alex Buckley <alex.buckley@oracle.com> Co-authored-by: Maurizio Mimadamore <maurizio.mimadamore@oracle.com> Co-authored-by: Mandy Chung <mandy.chung@oracle.com> Co-authored-by: Tobias Hartmann <tobias.hartmann@oracle.com> Co-authored-by: Vlaidmir Ivanov <vladimir.x.ivanov@oracle.com> Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com> Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com> Co-authored-by: John Rose <john.r.rose@oracle.com> Co-authored-by: Daniel Smith <daniel.smith@oracle.com> Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com> Co-authored-by: Kumar Srinivasan <kumardotsrinivasan@gmail.com> Co-authored-by: Boris Ulasevich <boris.ulasevich@bell-sw.com> Reviewed-by: alanb, psandoz, mchung, coleenp, acorn, mcimadamore, forax, jlahoda, sspitsyn, abuckley
269 lines
6.9 KiB
Plaintext
269 lines
6.9 KiB
Plaintext
/*
|
|
* Copyright (c) 2017, 2018, 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 is modified to contain P1.PackagedNestHost
|
|
// Required members are declared private
|
|
|
|
class P2/PackagedNestHost2$Member {
|
|
0xCAFEBABE;
|
|
0; // minor version
|
|
55; // version
|
|
[] { // Constant Pool
|
|
; // first element is empty
|
|
Method #10 #26; // #1
|
|
Field #27 #28; // #2
|
|
String #29; // #3
|
|
Method #30 #31; // #4
|
|
Method #6 #32; // #5
|
|
class #34; // #6
|
|
Method #6 #26; // #7
|
|
Field #6 #37; // #8
|
|
class #38; // #9
|
|
class #39; // #10
|
|
Utf8 "f"; // #11
|
|
Utf8 "I"; // #12
|
|
Utf8 "<init>"; // #13
|
|
Utf8 "()V"; // #14
|
|
Utf8 "Code"; // #15
|
|
Utf8 "LineNumberTable"; // #16
|
|
Utf8 "m"; // #17
|
|
Utf8 "doInvoke"; // #18
|
|
Utf8 "doConstruct"; // #19
|
|
Utf8 "doGetField"; // #20
|
|
Utf8 "doPutField"; // #21
|
|
Utf8 "SourceFile"; // #22
|
|
Utf8 "PackagedNestHost2.java"; // #23
|
|
Utf8 "NestHost"; // #24
|
|
class #40; // #25
|
|
NameAndType #13 #14; // #26
|
|
class #41; // #27
|
|
NameAndType #42 #43; // #28
|
|
Utf8 "You should never see this!"; // #29
|
|
class #44; // #30
|
|
NameAndType #45 #46; // #31
|
|
NameAndType #17 #14; // #32
|
|
class #47; // #33
|
|
Utf8 "P1/PackagedNestHost$Member"; // #34
|
|
Utf8 "Member"; // #35
|
|
Utf8 "InnerClasses"; // #36
|
|
NameAndType #11 #12; // #37
|
|
Utf8 "P2/PackagedNestHost2$Member"; // #38
|
|
Utf8 "java/lang/Object"; // #39
|
|
Utf8 "P2/PackagedNestHost2"; // #40
|
|
Utf8 "java/lang/System"; // #41
|
|
Utf8 "out"; // #42
|
|
Utf8 "Ljava/io/PrintStream;"; // #43
|
|
Utf8 "java/io/PrintStream"; // #44
|
|
Utf8 "println"; // #45
|
|
Utf8 "(Ljava/lang/String;)V"; // #46
|
|
Utf8 "P1/PackagedNestHost"; // #47
|
|
} // Constant Pool
|
|
|
|
0x0021; // access
|
|
#9;// this_cpx
|
|
#10;// super_cpx
|
|
|
|
[] { // Interfaces
|
|
} // Interfaces
|
|
|
|
[] { // fields
|
|
{ // Member
|
|
0x000A; // access - modified
|
|
#11; // name_cpx
|
|
#12; // sig_cpx
|
|
[] { // Attributes
|
|
} // Attributes
|
|
} // Member
|
|
} // fields
|
|
|
|
[] { // methods
|
|
{ // Member
|
|
0x0002; // access - modified
|
|
#13; // name_cpx
|
|
#14; // sig_cpx
|
|
[] { // Attributes
|
|
Attr(#15) { // Code
|
|
1; // max_stack
|
|
1; // max_locals
|
|
Bytes[]{
|
|
0x2AB70001B1;
|
|
};
|
|
[] { // Traps
|
|
} // end Traps
|
|
[] { // Attributes
|
|
Attr(#16) { // LineNumberTable
|
|
[] { // LineNumberTable
|
|
0 34;
|
|
}
|
|
} // end LineNumberTable
|
|
} // Attributes
|
|
} // end Code
|
|
} // Attributes
|
|
} // Member
|
|
;
|
|
{ // Member
|
|
0x000A; // access - modified
|
|
#17; // name_cpx
|
|
#14; // sig_cpx
|
|
[] { // Attributes
|
|
Attr(#15) { // Code
|
|
2; // max_stack
|
|
0; // max_locals
|
|
Bytes[]{
|
|
0xB200021203B60004;
|
|
0xB1;
|
|
};
|
|
[] { // Traps
|
|
} // end Traps
|
|
[] { // Attributes
|
|
Attr(#16) { // LineNumberTable
|
|
[] { // LineNumberTable
|
|
0 37;
|
|
8 38;
|
|
}
|
|
} // 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[]{
|
|
0xB80005B1;
|
|
};
|
|
[] { // Traps
|
|
} // end Traps
|
|
[] { // Attributes
|
|
Attr(#16) { // LineNumberTable
|
|
[] { // LineNumberTable
|
|
0 45;
|
|
3 46;
|
|
}
|
|
} // end LineNumberTable
|
|
} // Attributes
|
|
} // end Code
|
|
} // Attributes
|
|
} // Member
|
|
;
|
|
{ // Member
|
|
0x0009; // access
|
|
#19; // name_cpx
|
|
#14; // sig_cpx
|
|
[] { // Attributes
|
|
Attr(#15) { // Code
|
|
2; // max_stack
|
|
1; // max_locals
|
|
Bytes[]{
|
|
0xBB000659B700074B;
|
|
0xB1;
|
|
};
|
|
[] { // Traps
|
|
} // end Traps
|
|
[] { // Attributes
|
|
Attr(#16) { // LineNumberTable
|
|
[] { // LineNumberTable
|
|
0 49;
|
|
8 50;
|
|
}
|
|
} // end LineNumberTable
|
|
} // Attributes
|
|
} // end Code
|
|
} // Attributes
|
|
} // Member
|
|
;
|
|
{ // Member
|
|
0x0009; // access
|
|
#20; // name_cpx
|
|
#14; // sig_cpx
|
|
[] { // Attributes
|
|
Attr(#15) { // Code
|
|
1; // max_stack
|
|
1; // max_locals
|
|
Bytes[]{
|
|
0xB200083BB1;
|
|
};
|
|
[] { // Traps
|
|
} // end Traps
|
|
[] { // Attributes
|
|
Attr(#16) { // LineNumberTable
|
|
[] { // LineNumberTable
|
|
0 53;
|
|
4 54;
|
|
}
|
|
} // end LineNumberTable
|
|
} // Attributes
|
|
} // end Code
|
|
} // Attributes
|
|
} // Member
|
|
;
|
|
{ // Member
|
|
0x0009; // access
|
|
#21; // name_cpx
|
|
#14; // sig_cpx
|
|
[] { // Attributes
|
|
Attr(#15) { // Code
|
|
1; // max_stack
|
|
0; // max_locals
|
|
Bytes[]{
|
|
0x102AB30008B1;
|
|
};
|
|
[] { // Traps
|
|
} // end Traps
|
|
[] { // Attributes
|
|
Attr(#16) { // LineNumberTable
|
|
[] { // LineNumberTable
|
|
0 57;
|
|
5 58;
|
|
}
|
|
} // end LineNumberTable
|
|
} // Attributes
|
|
} // end Code
|
|
} // Attributes
|
|
} // Member
|
|
} // methods
|
|
|
|
[] { // Attributes
|
|
Attr(#22) { // SourceFile
|
|
#23;
|
|
} // end SourceFile
|
|
;
|
|
Attr(#24) { // NestHost
|
|
0x0021; // modified - #33
|
|
} // end NestHost
|
|
;
|
|
Attr(#36) { // InnerClasses
|
|
[] { // InnerClasses
|
|
#6 #33 #35 9;
|
|
#9 #25 #35 9;
|
|
}
|
|
} // end InnerClasses
|
|
} // Attributes
|
|
} // end class P2/PackagedNestHost2$Member
|