2966 Commits

Author SHA1 Message Date
Brent Christian
2cae9a0397 8314480: Memory ordering spec updates in java.lang.ref
Reviewed-by: dholmes, alanb, darcy
2024-05-31 21:29:30 +00:00
Jaikiran Pai
d9e7b7e7da 8210471: GZIPInputStream constructor could leak an un-end()ed Inflater
Reviewed-by: lancea
2024-05-31 13:43:40 +00:00
Justin Lu
ffb0867e2c 8331485: Odd Results when Parsing Scientific Notation with Large Exponent
8331680: NumberFormat is missing some bad exponent strict parse cases

Reviewed-by: naoto
2024-05-30 20:05:22 +00:00
Alan Bateman
707154235b 8331189: Implementation of Scoped Values (Third Preview)
Reviewed-by: aph, jpai, mcimadamore
2024-05-30 15:41:56 +00:00
Erik Gahlin
4a20691e9b 8331876: JFR: Move file read and write events to java.base
Reviewed-by: mgronlun, alanb
2024-05-30 13:32:57 +00:00
Chen Liang
f608918df3 8332614: Type-checked ConstantPool.entryByIndex and ClassReader.readEntryOrNull
Reviewed-by: asotona
2024-05-30 11:51:49 +00:00
Jaikiran Pai
1b04f6487c 8216984: Deprecate for removal Socket constructors to create UDP sockets
Reviewed-by: alanb, dfuchs
2024-05-30 10:03:06 +00:00
Pavel Rappo
3cff588a31 8332826: Make hashCode methods in ArraysSupport friendlier
Reviewed-by: redestad, liach
2024-05-30 09:33:30 +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
Maurizio Cimadamore
c003c1207f 8331865: Consolidate size and alignment checks in LayoutPath
Reviewed-by: psandoz, jvernee
2024-05-29 11:12:30 +00:00
Korov
b5e1615c00 8292955: Collections.checkedMap Map.merge does not properly check key and value
Reviewed-by: gli, liach, pminborg
2024-05-28 06:43:07 +00:00
Yudi Zheng
ed81a478e1 8327964: Simplify BigInteger.implMultiplyToLen intrinsic
Reviewed-by: mdoerr, amitkumar, kvn, fyang
2024-05-27 14:25:13 +00:00
Vicente Romero
7bf1989f59 8320575: generic type information lost on mandated parameters of record's compact constructors
Co-authored-by: Chen Liang <liach@openjdk.org>
Reviewed-by: jlahoda
2024-05-24 20:43:23 +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
Pavel Rappo
c099f14f07 8305457: Implement java.io.IO
Reviewed-by: naoto, smarks, jpai, jlahoda
2024-05-24 13:37:14 +00:00
Per Minborg
0a9d1f8c89 8332749: Broken link in MemorySegment.Scope.html
Reviewed-by: iris
2024-05-23 18:13:23 +00:00
Claes Redestad
2581935b47 8332528: Generate code in SwitchBootstraps.generateTypeSwitch that require fewer adaptations
Reviewed-by: liach, jlahoda
2024-05-23 12:26:19 +00:00
Sergey Chernyshev
c2180d141c 8315767: InetAddress: constructing objects from BSD literal addresses
Reviewed-by: dfuchs, aefimov, michaelm, jpai
2024-05-23 06:12:45 +00:00
Jaikiran Pai
5f804b2ec1 8329825: Clarify the value type for java.net.SocketOptions.SO_LINGER
Reviewed-by: alanb, dfuchs
2024-05-22 01:20:51 +00:00
Roger Riggs
8291c94bcd 8331224: ClassCastException in ObjectInputStream hides ClassNotFoundException
Reviewed-by: smarks
2024-05-21 14:11:39 +00:00
Raffaello Giulietti
42e3c842ae 8332086: Remove the usage of ServiceLoader in j.u.r.RandomGeneratorFactory
8332476: j.u.r.RandomGeneratorFactor.create(long|byte[]) should throw rather than silently fallback to no-arg create()

Reviewed-by: jpai
2024-05-21 12:53:03 +00:00
Chen Liang
414a7fdc5e 8311175: Move BufWriter::asByteBuffer to BufWriterImpl
Reviewed-by: asotona
2024-05-21 08:02:18 +00:00
Jaikiran Pai
ce99198e3a 8332181: Deprecate for removal the MulticastSocket.send(DatagramPacket, byte) and setTTL/getTTL methods on DatagramSocketImpl and MulticastSocket
Reviewed-by: dfuchs, iris, alanb
2024-05-21 06:37:15 +00:00
Viktor Klang
b78613b681 8332154: Memory leak in SynchronousQueue
Reviewed-by: alanb
2024-05-20 18:52:34 +00:00
Claes Redestad
0b0445be28 8331724: Refactor j.l.constant implementation to internal package
Reviewed-by: liach, asotona
2024-05-17 09:49:44 +00:00
Naoto Sato
259915168d 8331202: Support for Duration until another Instant
Reviewed-by: joehw, scolebourne, rriggs
2024-05-16 16:12:53 +00:00
Naoto Sato
7cff04fc8a 8330276: Console methods with explicit Locale
Reviewed-by: joehw, rriggs, jlahoda
2024-05-15 19:28:24 +00:00
Viktor Klang
8a4315f833 8331987: Enhance stacktrace clarity for CompletableFuture CancellationException
Reviewed-by: alanb, dfuchs
2024-05-15 18:35:46 +00:00
Maurizio Cimadamore
30bb066b19 8332003: Clarify javadoc for MemoryLayout::offsetHandle
Reviewed-by: psandoz
2024-05-15 14:39:51 +00:00
Daniel Jeliński
beea5305b0 8331907: BigInteger and BigDecimal should use optimized division
Reviewed-by: rgiulietti, bpb
2024-05-14 05:01:51 +00:00
Chen Liang
adaa509b6e 8327499: MethodHandleStatics.traceLambdaForm includes methods that cannot be generated
Reviewed-by: redestad, iklam
2024-05-13 09:11:49 +00:00
Viktor Klang
5053b70a7f 8278255: Add more warning text in ReentrantLock and ReentrantReadWriteLock
Reviewed-by: prappo, alanb
2024-05-11 18:37:43 +00:00
Alan Bateman
32c7681cf3 8332029: Provide access to initial value of stderr via JavaLangAccess
Reviewed-by: jpai, bpb, mcimadamore
2024-05-11 07:36:52 +00:00
Naoto Sato
65abf24fde 8331866: Add warnings for locale data dependence
Reviewed-by: jlu, srl, joehw
2024-05-10 16:10:40 +00:00
Chen Liang
784b8fce7a 8331744: java.lang.classfile.TypeKind improvements
Reviewed-by: asotona, redestad
2024-05-10 10:50:51 +00:00
Claes Redestad
d654124502 8331932: Startup regressions in 23-b13
Reviewed-by: alanb, naoto, liach
2024-05-10 08:22:46 +00:00
Raffaello Giulietti
7f299043a9 8330005: RandomGeneratorFactory.getDefault() throws exception when the runtime image only has java.base module
Reviewed-by: jpai, alanb
2024-05-08 08:27:13 +00:00
Viktor Klang
f12ed061ae 8048691: Spliterator.SORTED characteristics gets cleared for BaseStream.spliterator
Reviewed-by: psandoz, alanb
2024-05-07 19:06:36 +00:00
Nizar Benalla
3b8227ba24 8326836: Incorrect @since tags for ClassSignature methods
Reviewed-by: asotona
2024-05-07 05:28:45 +00:00
Fabian Meumertzheim
a8b3f194e8 8330077: Allow max number of events to be buffered to be configurable to avoid OVERFLOW_EVENT
Reviewed-by: bpb, alanb
2024-05-06 17:01:11 +00:00
Nizar Benalla
ae60d84500 8328501: Incorrect @since tags for java security interfaces
Reviewed-by: mullan
2024-05-06 15:54:40 +00:00
Naoto Sato
cf2c80e4fc 8331582: Incorrect default Console provider comment
Reviewed-by: joehw, jlahoda, jlu, prappo
2024-05-03 16:14:24 +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
Justin Lu
a863ef5d74 8331207: Misleading example in DateFormat#parse docs
Reviewed-by: naoto
2024-04-30 16:50:01 +00:00
Claes Redestad
0630bb02eb 8331264: Reduce java.lang.constant initialization overhead
Reviewed-by: liach, mchung
2024-04-30 08:27:38 +00:00
Brian Burkhalter
819f3d6fc7 8330748: ByteArrayOutputStream.writeTo(OutputStream) pins carrier
Reviewed-by: alanb
2024-04-29 17:54:13 +00:00
Joe Darcy
4e5c25ee43 8331108: Unused Math.abs call in java.lang.FdLibm.Expm1#compute
Reviewed-by: naoto, bpb, rgiulietti
2024-04-28 22:55:44 +00:00
Claes Redestad
c3372c4555 8331134: Port SimpleStringBuilderStrategy to use ClassFile API
Reviewed-by: mchung
2024-04-27 12:13:53 +00:00
Claes Redestad
a078b5e611 8331114: Further improve performance of MethodTypeDesc::descriptorString
Reviewed-by: mchung, liach
2024-04-27 12:12:51 +00:00