Commit graph

54 commits

Author SHA1 Message Date
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
David M. Lloyd
b101dcb609 8333312: Incorrect since tags on new ClassReader and ConstantPool methods
Reviewed-by: liach, asotona
2024-06-04 16:57:59 +00:00
Chen Liang
f608918df3 8332614: Type-checked ConstantPool.entryByIndex and ClassReader.readEntryOrNull
Reviewed-by: asotona
2024-05-30 11:51:49 +00:00
Adam Sotona
579cf705ff 8332597: Remove redundant methods from j.l.classfile.ClassReader API
Reviewed-by: liach, jlahoda
2024-05-30 06:12:50 +00:00
Adam Sotona
cfdc64fcb4 8331291: java.lang.classfile.Attributes class performs a lot of static initializations
Reviewed-by: liach, redestad, vromero
2024-05-24 15:58:34 +00:00
Chen Liang
414a7fdc5e 8311175: Move BufWriter::asByteBuffer to BufWriterImpl
Reviewed-by: asotona
2024-05-21 08:02:18 +00:00
Chen Liang
784b8fce7a 8331744: java.lang.classfile.TypeKind improvements
Reviewed-by: asotona, redestad
2024-05-10 10:50:51 +00:00
Nizar Benalla
3b8227ba24 8326836: Incorrect @since tags for ClassSignature methods
Reviewed-by: asotona
2024-05-07 05:28:45 +00:00
Chen Liang
c60474b122 8323707: Adjust Classfile API's type arg model to better represent the embodied type
Reviewed-by: asotona
2024-05-03 11:08:33 +00:00
Adam Sotona
ae82405ff7 8323058: Revisit j.l.classfile.CodeBuilder API surface
Reviewed-by: briangoetz, psandoz
2024-05-02 10:08:29 +00:00
Adam Sotona
ea06129851 8322847: java.lang.classfile.BufWriter should specify @throws for its writeXXX methods
Reviewed-by: psandoz
2024-04-26 07:02:45 +00:00
Joe Darcy
235ba9a702 8330458: Add missing @since tag to ClassFile.JAVA_23_VERSION
Reviewed-by: jjg, iris, asotona
2024-04-18 16:12:50 +00:00
Adam Sotona
97c180892b 8329099: Undocumented exception thrown by Instruction factory methods accepting Opcode
Reviewed-by: briangoetz
2024-04-16 08:23:31 +00:00
Adam Sotona
f9bc2db9a9 8325371: Missing ClassFile.Option in package summary
Reviewed-by: briangoetz
2024-04-09 14:41:39 +00:00
Adam Sotona
71c5bbcec7 8329527: Opcode.IFNONNULL.primaryTypeKind() is not ReferenceType
Reviewed-by: jlahoda
2024-04-09 09:35:07 +00:00
Chen Liang
3bffe223a3 8319463: ClassSignature should have superclass and superinterfaces as ClassTypeSig
Reviewed-by: asotona
2024-02-07 07:54:22 +00:00