Commit graph

37 commits

Author SHA1 Message Date
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
Adam Sotona
3c6459e1de 8321641: ClassFile ModuleAttribute.ModuleAttributeBuilder::moduleVersion spec contains a copy-paste error
Reviewed-by: alanb
2023-12-11 10:08:42 +00:00
Joe Darcy
519ecd352a 8319413: Start of release updates for JDK 23
8319414: Add SourceVersion.RELEASE_23
8319416: Add source 23 and target 23 to javac

Reviewed-by: iris, erikj, alanb, vromero
2023-12-07 17:01:29 +00:00
Adam Sotona
0217b5ac8b 8321248: ClassFile API ClassModel::verify is inconsistent with the rest of the API
Reviewed-by: jlahoda, mcimadamore
2023-12-06 15:32:24 +00:00
Adam Sotona
2b00ac0d02 8308753: Class-File API transition to Preview
Reviewed-by: ihse, mchung, vromero
2023-12-04 07:07:57 +00:00