2750 Commits

Author SHA1 Message Date
Pavel Rappo
7b3c2dc5f4 8311122: Fix typos in java.base
Reviewed-by: darcy, naoto, mchung, iris, mli, mullan
2023-07-04 19:03:09 +00:00
Mandy Chung
b9198f9931 8254566: Clarify the spec of ClassLoader::getClassLoadingLock for non-parallel capable loader
Reviewed-by: dholmes, darcy
2023-07-03 16:04:35 +00:00
Chen Liang
8c8e9d911d 8309819: Clarify API note in Class::getName and MethodType::toMethodDescriptorString
Reviewed-by: mchung
2023-06-30 23:37:53 +00:00
Pavel Rappo
e3a7e020d2 8311162: Simplify and modernize equals and hashCode for java.net
Reviewed-by: dfuchs, michaelm, msheppar
2023-06-30 15:17:23 +00:00
Roger Riggs
11fd34e196 8310241: OffsetDateTime compareTo redundant computation
Reviewed-by: naoto
2023-06-29 21:05:37 +00:00
Joe Darcy
d97966266e 8311115: Type in java.lang.reflect.AccessFlag.METHOD_PARAMETER
Reviewed-by: bpb, jlaskey, mchung
2023-06-29 20:31:57 +00:00
Naoto Sato
a995aa6cd1 8310232: java.time.Clock$TickClock.millis() fails in runtime when tick is 1 microsecond
Reviewed-by: iris, rriggs, jpai
2023-06-29 16:15:02 +00:00
shaojin.wensj
20f7d05ef2 8310502: Optimization for j.l.Long.fastUUID()
Reviewed-by: liach, alanb
2023-06-29 13:37:32 +00:00
Jaikiran Pai
8f5a38488c 8311032: Empty value for java.protocol.handler.pkgs system property can lead to unnecessary classloading attempts of protocol handlers
Reviewed-by: dfuchs
2023-06-29 01:30:46 +00:00
Jorn Vernee
7fffdb5e60 8310405: Linker.Option.firstVariadicArg should specify which index values are valid
Reviewed-by: mcimadamore
2023-06-28 17:32:33 +00:00
Joe Darcy
4bce38c6d7 8310830: typo in the parameter name in @throws of ClassDesc::ofDescriptor
Reviewed-by: bpb, rriggs, mchung
2023-06-27 19:30:59 +00:00
Jim Laskey
315242b741 8310975: java.util.FormatItemModifier should not be protected
Reviewed-by: alanb, darcy, iris, lancea
2023-06-27 18:45:37 +00:00
Naoto Sato
ec45bd64d5 8310182: DateTimeFormatter date formats (ISO_LOCAL_DATE) separated with hyphen, not dash
Reviewed-by: rriggs, darcy, iris, lancea
2023-06-27 16:13:20 +00:00
Chen Liang
2bd4136bdb 8310849: Pattern matching for instanceof and arrayType cleanup in j.l.invoke and j.l.reflect
Reviewed-by: mchung, darcy
2023-06-27 16:10:50 +00:00
Pavel Rappo
f6133edb08 8310890: Normalize identifier names
Reviewed-by: naoto, rriggs
2023-06-27 15:47:29 +00:00
Brian Burkhalter
58bb6555e7 8222329: Readable read(CharBuffer) does not specify that 0 is returned when there is no remaining space in buffer
Reviewed-by: rriggs, lancea, alanb
2023-06-27 15:28:01 +00:00
Adam Sotona
990e3a700d 8308899: Introduce Classfile context and improve Classfile options
8306650: Improve control of stack maps generation in Classfile API
8308646: Typo in ConstantValueAttribute

Reviewed-by: mcimadamore
2023-06-27 05:05:17 +00:00
Jonathan Gibbons
46add3f8e3 8310909: java.io.InvalidObjectException has redundant @since tag
Reviewed-by: lancea, naoto, bpb, darcy, iris
2023-06-26 22:24:32 +00:00
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