2632 Commits

Author SHA1 Message Date
Chen Liang
a197ee797b 8310838: Correct range notations in MethodTypeDesc specification
Reviewed-by: mchung
2023-06-26 22:07:35 +00:00
Mandy Chung
7db2f08756 8310242: Clarify the name parameter to Class::forName
Reviewed-by: rriggs, liach, alanb, dholmes
2023-06-26 19:56:24 +00:00
Sergey Tsypanov
297c799631 8301492: Modernize equals() method of ResourceBundle.CacheKey and Bundles.CacheKey
Reviewed-by: prappo, naoto
2023-06-26 19:41:43 +00:00
Jaikiran Pai
013367b483 8310868: Thread.interrupt() method's javadoc has an incorrect {@link}
Reviewed-by: alanb
2023-06-26 06:25:08 +00:00
Joe Darcy
0db63ec76d 8310571: Use inline @return tag on java.util.Objects
Reviewed-by: smarks
2023-06-23 22:55:06 +00:00
Joe Darcy
0314292cb2 8310267: Javadoc for Class#isPrimitive() is incorrect regarding Class objects for primitives
Reviewed-by: prappo
2023-06-23 19:35:57 +00:00
Joe Darcy
0e4fde3d30 8310453: Update javadoc of java.lang.Object
Reviewed-by: rriggs, alanb
2023-06-22 16:38:39 +00:00
Per Minborg
5a30fb6664 8310591: Missing @since tags in java.lang.foreign
Reviewed-by: mcimadamore
2023-06-22 11:59:33 +00:00
Alan Bateman
3661cdee1b 8309853: StructuredTaskScope.join description improvements
Reviewed-by: rpressler, darcy
2023-06-22 04:29:13 +00:00
Jorn Vernee
e022e87654 8310053: VarHandle and slice handle derived from layout are lacking alignment check
Reviewed-by: mcimadamore
2023-06-21 00:03:13 +00:00
Andrew Haley
44a8aa0691 8308609: java/lang/ScopedValue/StressStackOverflow.java fails with "-XX:-VMContinuations"
Reviewed-by: alanb
2023-06-16 12:21:11 +00:00
Per Minborg
b412fc79c3 8309937: Add @sealedGraph for some Panama FFM interfaces
Reviewed-by: mcimadamore
2023-06-16 11:42:55 +00:00
Alan Bateman
227656f3a9 8309408: Thread.sleep cleanup
Reviewed-by: dholmes, stefank
2023-06-16 07:26:27 +00:00
Man Cao
5c705166da 8309688: Data race on java.io.ClassCache$CacheRef.strongReferent
Reviewed-by: rriggs, shade
2023-06-15 20:13:36 +00:00
Pavel Rappo
3e0bbd290c 8285368: Overhaul doc-comment inheritance
6376959: Algorithm for Inheriting Method Comments seems to go not as documented
6934301: Support directed inheriting of class comments with @inheritDoc

Reviewed-by: jjg, rriggs, aivanov, smarks, martin
2023-06-15 17:47:41 +00:00
Raffaello Giulietti
bfef3c3e80 8309955: Matcher uses @since {@inheritDoc}
Reviewed-by: lancea
2023-06-13 18:40:47 +00:00
Chen Liang
75dcc4ef94 8307508: IndirectVarHandle.isAccessModeSupported throws NPE
Reviewed-by: mchung
2023-06-13 17:05:52 +00:00
Stuart Marks
e138685648 8309882: LinkedHashMap adds an errant serializable field
Reviewed-by: darcy, bpb, jpai, rriggs
2023-06-13 15:16:28 +00:00
Per Minborg
f7de726bd3 8295555: Primitive wrapper caches could be @Stable
Reviewed-by: rriggs
2023-06-13 08:39:00 +00:00
Maurizio Cimadamore
a6ad42e00e 8308645: Javadoc of FFM API needs to be refreshed
8309398: ValueLayout:: arrayElementVarHandle doesn't throws UnsupportedOperationException - if byteAlignment() > byteSize()
8308812: SequenceLayout::withElementCount(long elementCount) doesn't throw IllegalArgumentException - if elementCount < 0 for some cases

Reviewed-by: jvernee
2023-06-12 15:55:49 +00:00
Sergey Bylokhov
bdd81b3182 8304885: Reuse stale data to improve DNS resolver resiliency
Reviewed-by: michaelm, dfuchs
2023-06-09 23:20:06 +00:00
Claes Redestad
dc842e8587 8309665: Simplify Arrays.copyOf/-Range methods
Reviewed-by: jlaskey, rriggs, alanb
2023-06-09 09:57:39 +00:00
Alan Bateman
97df6cf55a 8309545: Thread.interrupted from virtual thread needlessly resets interrupt status
Reviewed-by: rpressler, dholmes, jpai
2023-06-09 07:30:03 +00:00
Jonathan Gibbons
6f492e8005 8309686: inconsistent URL for https://www.unicode.org/reports/tr35
Reviewed-by: naoto
2023-06-08 22:16:42 +00:00
Alan Bateman
b2a5271e74 8309196: Remove Thread.countStackFrames
Reviewed-by: rriggs, mchung, dholmes, jpai, iris
2023-06-08 17:28:04 +00:00
Joe Darcy
5a706fb403 8306584: Start of release updates for JDK 22
8306585: Add SourceVersion.RELEASE_22
8306586: Add source 22 and target 22 to javac

Reviewed-by: erikj, iris, dholmes, jlahoda, alanb
2023-06-08 16:02:21 +00:00
Nagata-Haruhito
9d64a9d220 8306431: File.listRoots method description should be re-examined
Reviewed-by: bpb, alanb
2023-06-08 07:03:29 +00:00
Raffaello Giulietti
90027ff204 8309515: Stale cached data from Matcher.namedGroups() after Matcher.usePattern()
Reviewed-by: rriggs
2023-06-07 21:39:53 +00:00
Jorn Vernee
fa791119f0 8308031: Linkers should reject unpromoted variadic parameters
Reviewed-by: mcimadamore
2023-06-07 12:14:55 +00:00
Dhamoder Nalla
749d480193 8305763: Parsing a URI with an underscore goes through a silent exception, negatively impacting performance
Reviewed-by: dfuchs
2023-06-07 09:50:08 +00:00
Alan Bateman
f1c7afcc3f 8306647: Implementation of Structured Concurrency (Preview)
8306572: Implementation of Scoped Values (Preview)

Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Reviewed-by: psandoz, dfuchs, mchung
2023-06-07 06:41:09 +00:00
Joe Darcy
d82436e4e3 8295071: Spec Clarification : ClassFileFormatVersion: System property java.class.version | Java class format version number
Reviewed-by: iris, alanb, rriggs
2023-06-06 18:33:42 +00:00
Stuart Marks
9526190863 8307840: SequencedMap view method specification and implementation adjustments
Reviewed-by: darcy, alanb
2023-06-06 17:02:32 +00:00
Mandy Chung
74dc50b7f0 8301721: lookup.findSpecial fails on Object method call from interface
Reviewed-by: alanb
2023-06-06 16:19:46 +00:00
Chen Liang
38cef2adbd 8309413: Improve the performance of MethodTypeDesc::descriptorString
8304932: MethodTypeDescImpl can be mutated by argument passed to MethodTypeDesc.of

Reviewed-by: mchung
2023-06-06 15:56:36 +00:00
Stuart Marks
6d155a47f1 8308167: SequencedMap::firstEntry throws NPE when first entry has null key or value
Reviewed-by: bchristi
2023-06-06 00:19:50 +00:00
Jim Laskey
98b53c06cf 8306112: Implementation of JEP 445: Unnamed Classes and Instance Main Methods (Preview)
8308613: javax.lang.model updates for JEP 445 (preview)
8308913: Update core reflection for JEP 445 (preview)

Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Joe Darcy <darcy@openjdk.org>
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Jim Laskey <jlaskey@openjdk.org>
Co-authored-by: Adam Sotona <asotona@openjdk.org>
Reviewed-by: mcimadamore, vromero, darcy
2023-06-05 18:45:39 +00:00
Jan Lahoda
9be5769a68 8291966: SwitchBootstrap.typeSwitch could be faster
Reviewed-by: asotona
2023-06-05 10:48:25 +00:00
Chen Liang
be36096a19 8302822: Method/Field/Constructor/RecordComponent::getGenericInfo() is not thread safe
Reviewed-by: stsypanov, redestad
2023-06-01 15:31:51 +00:00
Chen Liang
78aa5f3fc1 8299505: findVirtual on array classes incorrectly restricts the receiver type
Reviewed-by: mchung
2023-05-31 16:28:26 +00:00
Naoto Sato
1264902517 8308316: Default decomposition mode in Collator
Reviewed-by: rriggs
2023-05-31 15:56:40 +00:00
Mandy Chung
de7fd1c306 8307944: ClassFileDumper should only load java.nio.file.Path if enabled
Reviewed-by: rriggs
2023-05-30 21:01:12 +00:00
Joe Darcy
1b8e6bf31c 8308987: Update java.lang.Class to use javadoc snippets
Reviewed-by: alanb
2023-05-30 16:47:02 +00:00
Weijun Wang
6b90b0519e 8297878: KEM: Implementation
Reviewed-by: ascarpino, mullan
2023-05-30 16:29:19 +00:00
Justin Lu
46c4da7fdd 8159023: Engineering notation of DecimalFormat does not work as documented
Reviewed-by: naoto
2023-05-25 21:54:58 +00:00
Naoto Sato
27ba8bd4ed 8308108: Support Unicode extension for collation settings
Reviewed-by: iris, rriggs, jlu, alanb
2023-05-25 17:20:02 +00:00
Maurizio Cimadamore
534de6d8ae 8300491: SymbolLookup::libraryLookup accepts strings with terminators
Reviewed-by: psandoz
2023-05-25 15:22:27 +00:00
Pavel Rappo
38367d3c3a 8308735: Typos in parameter names
Reviewed-by: naoto, iris, bpb
2023-05-25 10:22:41 +00:00
Jim Laskey
b44fa365ca 8308040: Evaluate new public types in non-public classes
Reviewed-by: rriggs, darcy
2023-05-24 19:08:39 +00:00
Chen Liang
8ffa264cf0 8306698: Add overloads to MethodTypeDesc::of
Reviewed-by: mchung
2023-05-23 21:26:25 +00:00