Commit graph

69 commits

Author SHA1 Message Date
Chen Liang
28e01e6559 8347762: ClassFile attribute specification refers to non-SE modules
Reviewed-by: darcy, dholmes
2025-01-15 05:24:43 +00:00
Chen Liang
973c630777 8342466: Improve API documentation for java.lang.classfile.attribute
Reviewed-by: darcy, asotona
2025-01-15 02:04:01 +00:00
Chen Liang
afe543414f 8347163: Javadoc error in ConstantPoolBuilder after JDK-8342468
Reviewed-by: jpai, shade
2025-01-08 10:56:48 +00:00
Chen Liang
bcefab5e55 8342468: Improve API documentation for java.lang.classfile.constantpool
Reviewed-by: asotona
2025-01-08 03:37:28 +00:00
Nizar Benalla
2a68f74188 8346128: Comparison build fails due to difference in LabelTarget.html
Reviewed-by: jlahoda, liach, prappo
2024-12-20 10:16:04 +00:00
Adam Sotona
f88c1c6ff8 8345773: Class-File API debug printing capability
Reviewed-by: liach, mcimadamore
2024-12-11 07:58:26 +00:00
Chen Liang
0f035545e5 8342469: Improve API documentation for java.lang.classfile.instruction
Reviewed-by: asotona, darcy
2024-12-10 20:34:12 +00:00
Pavel Rappo
5cc150c636 8342979: Start of release updates for JDK 25
8342982: Add SourceVersion.RELEASE_25
8342983: Add source 25 and target 25 to javac

Co-authored-by: Joe Darcy <darcy@openjdk.org>
Reviewed-by: iris, darcy, erikj, dholmes
2024-12-05 17:03:27 +00:00
Chen Liang
79eb77b782 8345486: Reevaluate the classes in java.lang.classfile.components package
Reviewed-by: mcimadamore, asotona
2024-12-04 17:30:01 +00:00
Chen Liang
76e874c08e 8345319: Fix the tag type in PoolEntry and AnnotationValue
Reviewed-by: asotona
2024-12-03 16:59:57 +00:00
Adam Sotona
84ffb64cd7 8334714: Implement JEP 484: Class-File API
Reviewed-by: liach, vromero
2024-11-15 14:38:17 +00:00
Adam Sotona
ba39321902 8343881: java.lang.classfile.Attribute attributeName() method should return Utf8Entry
Reviewed-by: liach
2024-11-15 11:40:15 +00:00
Shaojin Wen
3ebfc6c1e2 8342336: Optimize ClassFile imports
Reviewed-by: liach
2024-10-17 10:49:53 +00:00
Chen Liang
a2c775222e 8317356: Fix missing null checks in the ClassFile API
Co-authored-by: Nizar Benalla <nbenalla@openjdk.org>
Reviewed-by: asotona
2024-10-14 17:21:10 +00:00
David M. Lloyd
20f36c666c 8339329: ConstantPoolBuilder#constantValueEntry method doc typo and clarifications
Reviewed-by: liach
2024-10-06 16:26:45 +00:00
Shaojin Wen
1c3e56c3e4 8341512: Optimize StackMapGenerator::processInvokeInstructions
Reviewed-by: liach
2024-10-05 15:37:18 +00:00
Shaojin Wen
f8db3a831b 8341510: Optimize StackMapGenerator::processFieldInstructions
Reviewed-by: liach
2024-10-05 01:21:25 +00:00
Chen Liang
39c17b3926 8341277: Validate slot argument for instruction factories
Reviewed-by: asotona
2024-10-02 03:30:02 +00:00
Chen Liang
8c8f0d85ce 8339260: Move rarely used constants out of ClassFile
Reviewed-by: asotona
2024-09-26 06:34:18 +00:00
Shaojin Wen
2461263aac 8339217: Optimize ClassFile API loadConstant
Reviewed-by: liach, redestad, asotona
2024-09-21 00:21:04 +00:00
David M. Lloyd
3e14fb9c16 8340200: Misspelled constant AttributesProcessingOption.DROP_UNSTABLE_ATRIBUTES
Reviewed-by: liach
2024-09-17 16:24:38 +00:00
Chen Liang
4d65c3efca 8339876: Move constant symbol caches to Utf8EntryImpl
Reviewed-by: redestad
2024-09-12 15:16:38 +00:00
Chen Liang
bd8569bc6c 8339131: Remove rarely-used accessor methods from Opcode
Reviewed-by: asotona
2024-09-04 12:29:40 +00:00
Chen Liang
ad40a122d6 8339214: Remove misleading CodeBuilder.loadConstant(Opcode, ConstantDesc)
Reviewed-by: asotona
2024-09-03 13:44:48 +00:00
Chen Liang
25e03b5209 8339115: Rename TypeKind enum constants to follow code style
Reviewed-by: asotona
2024-08-30 17:28:28 +00:00
Chen Liang
777ed2b5d2 8339132: Make DirectCodeBuilder write through without allocating instruction objects
Reviewed-by: asotona, redestad
2024-08-29 15:45:52 +00:00
Chen Liang
a461369f16 8338700: AttributeMapper type parameter should be bounded by Attribute
Reviewed-by: asotona
2024-08-23 15:16:44 +00:00
Chen Liang
80adea8e0a 8338545: Functional interface implementations for common pre-boot ClassFile operations
Reviewed-by: asotona
2024-08-21 11:58:21 +00:00
Chen Liang
1ebf2cf639 8336756: Improve ClassFile Annotation writing
Reviewed-by: asotona
2024-08-20 19:02:38 +00:00
Chen Liang
68d1f5c33b 8338543: ClassBuilder withMethod builders should cache the method type symbol
Reviewed-by: asotona
2024-08-20 05:43:04 +00:00
Chen Liang
961e944fa7 8336754: Remodel TypeAnnotation to "has" instead of "be" an Annotation
Co-authored-by: Alex Buckley <abuckley@openjdk.org>
Reviewed-by: asotona
2024-08-16 15:48:54 +00:00
Sonia Zaldana Calles
56dec215b0 8338014: Improve usage of @jvms tags in class file API
Reviewed-by: darcy, liach, asotona
2024-08-15 13:28:25 +00:00
Chen Liang
6af1d6ff21 8335927: Revisit AnnotationConstantValueEntry and AnnotationValue.OfConstant
Reviewed-by: asotona
2024-08-13 15:14:06 +00:00
Joe Darcy
78773b1769 8338015: Fix "Java Java" typo in package info file of java.lang.classfile
Reviewed-by: jiefu, jpai, liach
2024-08-08 15:52:17 +00:00
Chen Liang
93c19ac73c 8337219: AccessFlags factories do not require necessary arguments
Reviewed-by: asotona
2024-07-30 17:41:49 +00:00
Chen Liang
6154a2129b 8336032: Enforce immutability of Lists used by ClassFile API
Reviewed-by: asotona
2024-07-30 17:41:38 +00:00
Chen Liang
ab27090aa0 8337225: Demote maxStack and maxLocals from CodeModel to CodeAttribute
Reviewed-by: asotona
2024-07-29 21:58:08 +00:00
Chen Liang
a2a236f904 8335939: Hide element writing across the ClassFile API
Reviewed-by: asotona
2024-07-23 12:11:47 +00:00
Chen Liang
22914e0774 8335938: Review XxxBuilder.original and XxxModel.parent
Reviewed-by: asotona
2024-07-23 04:59:58 +00:00
Nizar Benalla
92de2b2d5f 8336039: Doccheck: HTML warnings, broken links and missing files in java.base documentation
Reviewed-by: liach, djelinski
2024-07-22 13:27:12 +00:00
Chen Liang
a253e0ff4b 8335642: Hide Transform implementation for Class-File API
Reviewed-by: asotona
2024-07-15 12:11:53 +00:00
Chen Liang
a9f5e76a65 8335905: CompoundElement API cleanup
Reviewed-by: asotona
2024-07-14 15:01:51 +00:00
Chen Liang
cad68e06ec 8335935: Chained builders not sending transformed models to next transforms
Reviewed-by: asotona
2024-07-10 21:06:39 +00:00
Nizar Benalla
f4fa35e28b 8330954: since-checker - Fix remaining @ since tags in java.base
Reviewed-by: liach, naoto
2024-07-04 15:44:57 +00:00
Chen Liang
0db9bc57de 8335290: Rename ClassFile::transform to ClassFile::transformClass
Reviewed-by: asotona
2024-07-03 05:03:56 +00:00
Chen Liang
f7af4504a8 8335110: Fix instruction name and API spec inconsistencies in CodeBuilder
Reviewed-by: asotona
2024-07-03 02:49:43 +00:00
Chen Liang
8a664a4c35 8334734: Remove specialized readXxxEntry methods from ClassReader
Reviewed-by: asotona
2024-07-03 02:43:41 +00:00
Chen Liang
3a2d426489 8334726: Remove accidentally exposed individual methods from Class-File API
Reviewed-by: asotona
2024-07-03 02:42:06 +00:00
Chen Liang
8d2f9e57c3 8333749: Consolidate ConstantDesc conversion in java.base
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Reviewed-by: redestad, jvernee
2024-06-08 13:05:36 +00:00
Joe Darcy
75dc2f8518 8330182: Start of release updates for JDK 24
8330183: Add SourceVersion.RELEASE_24
8330184: Add source 24 and target 24 to javac

Reviewed-by: iris, vromero, asotona, dholmes
2024-06-06 16:01:57 +00:00