Commit graph

1366 commits

Author SHA1 Message Date
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
Jan Lahoda
958786b28f 8332522: SwitchBootstraps::mappedEnumLookup constructs unused array
Reviewed-by: liach, redestad
2024-08-06 09:07:44 +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
Shaojin Wen
2fbdbacad7 8337245: Fix wrong comment of StringConcatHelper
Reviewed-by: phh, redestad
2024-07-27 22:54:47 +00:00
Shaojin Wen
7f11935461 8337167: StringSize deduplication
Reviewed-by: liach, rriggs
2024-07-26 07:08:33 +00:00
Alan Bateman
6e228ce382 8336254: Virtual thread implementation + test updates
Reviewed-by: sspitsyn, kevinw
2024-07-25 04:59:01 +00:00
Naoto Sato
4ea4d7c684 8336679: Add @implSpec for the default implementations in Process.waitFor()
Reviewed-by: bpb, jlu, liach
2024-07-24 16:48:34 +00:00
Shaojin Wen
476d2ae69d 8336831: Optimize StringConcatHelper.simpleConcat
Reviewed-by: liach, redestad, rriggs
2024-07-23 20:21: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
Claes Redestad
e83b4b236e 8335182: Consolidate and streamline String concat code shapes
Reviewed-by: liach, jvernee
2024-07-23 11:50:57 +00:00
Chen Liang
22914e0774 8335938: Review XxxBuilder.original and XxxModel.parent
Reviewed-by: asotona
2024-07-23 04:59:58 +00:00
Chen Liang
aabec4a947 8335922: Incorrect @Stable usage of LambdaForm$Name.index
Reviewed-by: jvernee, shade
2024-07-22 22:54:36 +00:00
Naoto Sato
c1c9704268 8336479: Provide Process.waitFor(Duration)
Reviewed-by: liach, jpai, rriggs
2024-07-22 17:17:46 +00:00
Weijun Wang
c3226aaeb8 8334394: Race condition in Class::protectionDomain
Reviewed-by: liach, jpai, rriggs, alanb
2024-07-22 13:43:55 +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
39f4476813 8334772: Change Class::signers to an explicit field
Reviewed-by: dholmes, alanb, rriggs, coleenp
2024-07-18 22:22:59 +00:00
Joe Darcy
bbc79a5e01 8333768: Minor doc updates to java.lang.{Float, Double}
Reviewed-by: rgiulietti
2024-07-18 16:33:48 +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
Nizar Benalla
5bc86f3329 8336259: Wrong link to stylesheet.css in JavaDoc API documentation
Reviewed-by: jjg, liach
2024-07-12 21:50:51 +00:00
Sean Gwizdak
8ba9bc6f17 8332249: Micro-optimize Method.hashCode
Reviewed-by: liach
2024-07-12 21:49:51 +00:00
Pavel Rappo
6fcd49f943 8336239: Fix javadoc markup in java.lang.Process
Reviewed-by: jpai
2024-07-11 10:08:54 +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
Joe Darcy
66db71563c 8335637: Add explicit non-null return value expectations to Object.toString()
Reviewed-by: jpai, alanb, smarks, prappo
2024-07-10 16:36:39 +00:00
Per Minborg
6f7f0f1de0 8333884: MemorySegment::reinterpret removes read-only property
Reviewed-by: jvernee, mcimadamore
2024-07-06 15:05:26 +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
Adam Sotona
3ca2bcd402 8335060: ClassCastException after JDK-8294960
Reviewed-by: liach, jpai
2024-07-01 11:51:13 +00:00
Aleksey Shipilev
45c4eaa560 8335274: SwitchBootstraps.ResolvedEnumLabels.resolvedEnum should be final
Reviewed-by: liach, jlahoda
2024-06-28 16:26:34 +00:00
Shaojin Wen
9d20b58f40 8334328: Reduce object allocation for FloatToDecimal and DoubleToDecimal
Reviewed-by: redestad, rgiulietti
2024-06-27 05:13:30 +00:00
Claes Redestad
5883a20b82 8334437: De-duplicate ProxyMethod list creation
Reviewed-by: asotona, liach
2024-06-26 14:46:17 +00:00
Adam Sotona
7f6804ceb6 8334872: BigEndian: java/lang/invoke/condy Tests failing since JDK-8294960
Reviewed-by: redestad
2024-06-26 09:09:13 +00:00
Hannes Greule
72ca7bafcd 8334708: FFM: two javadoc problems
Reviewed-by: mcimadamore
2024-06-22 12:16:50 +00:00
Joe Darcy
4e58d8c897 8309821: Link to hidden classes section in Class specification for Class::isHidden
Reviewed-by: iris, rriggs
2024-06-19 23:23:52 +00:00
Adam Sotona
01ee4241b7 8294960: Convert java.base/java.lang.invoke package to use the Classfile API to generate lambdas and method handles
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Reviewed-by: redestad, liach
2024-06-19 15:15:30 +00:00
Chen Liang
91bd85d65d 8333854: IllegalAccessError with proxies after JDK-8332457
Reviewed-by: redestad, asotona
2024-06-18 13:51:50 +00:00
Per Minborg
c80e2eb35c 8333886: Explicitly specify that asSlice and reinterpret return a memory segment backed by the same region of memory.
Reviewed-by: jvernee, mcimadamore
2024-06-12 09:35:48 +00:00
Joe Darcy
13642cb4b8 8333828: Use value javadoc tag in java.lang.{Float, Double}
Reviewed-by: liach, rgiulietti
2024-06-10 17:15:32 +00:00
Claes Redestad
7b43a8cd7c 8333824: Unused ClassValue in VarHandles
Reviewed-by: mcimadamore
2024-06-10 10:05:14 +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
Adam Sotona
d85b0ca5cd 8332457: Examine startup overheads from JDK-8294961
8229959: Convert proxy class to use constant dynamic

Reviewed-by: liach, redestad
2024-06-05 15:33:03 +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