662 Commits

Author SHA1 Message Date
Viktor Klang
ecf8842cd2 8300098: java/util/concurrent/ConcurrentHashMap/ConcurrentAssociateTest.java fails with internal timeout when executed with TieredCompilation1/3
Co-authored-by: Doug Lea <dl@openjdk.org>
Reviewed-by: jpai, alanb
2023-02-06 15:26:32 +00:00
Raffaello Giulietti
f696785fd3 8300869: Make use of the Double.toString(double) algorithm in java.util.Formatter
Reviewed-by: darcy, naoto
2023-02-02 19:10:42 +00:00
Dr Heinz M. Kabutz
cf6b9eb8c8 8301637: ThreadLocalRandom.current().doubles().parallel() contention
Reviewed-by: alanb
2023-02-02 18:28:47 +00:00
Eirik Bjorsnos
5dfc4ec7d9 8300140: ZipFile.isSignatureRelated returns true for files in META-INF subdirectories
Reviewed-by: weijun
2023-01-27 22:47:51 +00:00
Tagir F. Valeev
ae0e76d3dd 8301120: Cleanup utility classes java.util.Arrays and java.util.Collections
Reviewed-by: smarks, darcy
2023-01-27 19:23:53 +00:00
Justin Lu
22c976a9b0 8177418: NPE is not apparent for methods in java.util.TimeZone API docs
Reviewed-by: lancea, naoto
2023-01-27 18:11:20 +00:00
Viktor Klang
a2a7703370 8299444: java.util.Set.copyOf allocates needlessly for empty input collections
Reviewed-by: rriggs, shade, smarks
2023-01-26 18:15:56 +00:00
Raffaello Giulietti
030b071db1 8300207: Add a pre-check for the number of canonical equivalent permutations in j.u.r.Pattern
Reviewed-by: smarks
2023-01-22 12:45:52 +00:00
Sergey Bylokhov
3ea4eac145 8300817: The build is broken after JDK-8294693
Reviewed-by: tvaleev, darcy
2023-01-21 21:51:41 +00:00
Tagir F. Valeev
67b1c890b3 8294693: Add Collections.shuffle overload that accepts RandomGenerator interface
Reviewed-by: smarks, darcy
2023-01-21 18:36:31 +00:00
Claes Redestad
bb42e61a61 8300493: Use ArraysSupport.vectorizedHashCode in j.u.zip.ZipCoder
Reviewed-by: alanb, lancea
2023-01-21 11:54:51 +00:00
Stuart Marks
c6d5600396 8038146: Clarify Map.Entry's connection to the underlying map
Reviewed-by: alanb
2023-01-20 16:33:48 +00:00
Joe Darcy
7bf0d1465e 8300133: Use generalized see and link tags in core libs
Reviewed-by: jjg, mchung, naoto, smarks
2023-01-18 18:54:03 +00:00
Claes Redestad
e37078f5bb 8282664: Unroll by hand StringUTF16 and StringLatin1 polynomial hash loops
Co-authored-by: Sandhya Viswanathan <sviswanathan@openjdk.org>
Co-authored-by: Ludovic Henry <luhenry@openjdk.org>
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Reviewed-by: vlivanov, sviswanathan, luhenry
2023-01-17 21:06:22 +00:00
Justin Lu
d7c05d1870 8300011: Refactor code examples to use @snippet in java.util.TimeZone
Reviewed-by: lancea, naoto, iris
2023-01-17 18:30:32 +00:00
Justin Lu
500b45e12d 8299865: Unnecessary NullPointerException catch in java.util.TimeZone#setDefaultZone
Reviewed-by: lancea, iris, naoto, aturbanov
2023-01-13 18:13:50 +00:00
Raffaello Giulietti
33412c102c 8299677: Formatter.format might take a long time to format an integer or floating-point
Reviewed-by: alanb, stsypanov, darcy
2023-01-12 19:21:09 +00:00
Justin Lu
437d69a220 8299836: Make user.timezone system property searchable
Reviewed-by: jpai, naoto
2023-01-11 17:14:08 +00:00
Jaikiran Pai
b7eb4e2ffd 8297306: Incorrect brackets in Javadoc for a constructor of IteratorSpliterator
Reviewed-by: alanb, iris, naoto
2023-01-10 01:53:48 +00:00
Justin Lu
f36f1354c6 8299501: Usage of constructors of primitive wrapper classes should be avoided in java.util API docs
Reviewed-by: naoto, lancea
2023-01-09 21:26:08 +00:00
Naoto Sato
0267aa528b 8297288: Example code in Scanner class
Reviewed-by: lancea, bpb, alanb
2022-12-12 17:59:25 +00:00
Andrew Haley
221e1a4260 8286666: JEP 429: Implementation of Scoped Values (Incubator)
Reviewed-by: psandoz, dlong, alanb, mcimadamore
2022-12-07 10:14:06 +00:00
Per Minborg
84b927a05b 8296024: Usage of DirectBuffer::address should be guarded
Reviewed-by: mcimadamore, alanb, psandoz, bpb
2022-12-06 10:42:59 +00:00
Alan Bateman
19d849884b 8297495: j.u.concurrent updates for JDK 20
Reviewed-by: jpai
2022-12-05 15:20:16 +00:00
Alan Bateman
cd776093c7 8294278: ForkJoinPool.getAndAddPoolIds should use Unsafe.staticFieldBase
Reviewed-by: burban, chegar, martin
2022-12-01 10:40:36 +00:00
Justin Lu
ae5b1f7656 8297685: Typo in NullPointerException description specified by Locale.lookup
Reviewed-by: naoto, lancea, jpai
2022-11-29 18:32:44 +00:00
pandaapo
f0e99c6346 8297301: Cleanup unused methods in JavaUtilJarAccess
Reviewed-by: weijun
2022-11-22 03:22:05 +00:00
Jaikiran Pai
906f1ca4d7 8292317: Missing null check for Iterator.forEachRemaining implementations
Reviewed-by: sundar, smarks
2022-11-19 00:55:14 +00:00
Jaikiran Pai
2f2d40465b 8297129: Inflater documentation refers to 'deflate' methods
Reviewed-by: alanb, lancea
2022-11-18 12:04:10 +00:00
Raffaello Giulietti
35acb89166 8296292: Document the default behavior of '$' in regular expressions correctly
Reviewed-by: lancea
2022-11-17 12:46:19 +00:00
Lance Andersen
6aef3a4a3d 8262435: Clarify the behavior of a few inherited ZipInputStream methods
Reviewed-by: alanb, bpb, jpai
2022-11-15 16:44:14 +00:00
Andrey Turbanov
82cbfb5fb0 8296140: Drop unused field java.util.Calendar.DATE_MASK
Reviewed-by: naoto
2022-11-09 08:58:30 +00:00
Lance Andersen
72f74df49a 8292427: Improve specification of InflaterInputStream.fill()
Reviewed-by: bpb, alanb, simonis
2022-11-03 17:02:33 +00:00
Stuart Marks
53905e600a 8178355: IdentityHashMap uses identity-based comparison for values everywhere except remove(K,V) and replace(K,V,V)
Reviewed-by: smarks
2022-11-03 16:36:29 +00:00
Justin Lu
d4c9a88073 6560981: (cal) unused local variables in GregorianCalendar, etc.
Reviewed-by: naoto, bchristi, iris
2022-10-06 23:16:06 +00:00
Joe Darcy
536c9a512e 8294618: Update openjdk.java.net => openjdk.org
Reviewed-by: mikael, iris, joehw, prr, ihse
2022-10-05 16:48:09 +00:00
Raffaello Giulietti
ce85cac947 8065554: MatchResult should provide values of named-capturing groups
Reviewed-by: smarks
2022-09-29 09:16:21 +00:00
Lance Andersen
9db95edd01 8215788: Clarify JarInputStream Manifest access
Reviewed-by: weijun, mullan, alanb
2022-09-28 19:22:19 +00:00
Doug Lea
bc12e9553d 8292969: Bad Thread Utilization in ForkJoinPool
Reviewed-by: shade, alanb
2022-09-27 10:50:18 +00:00
Lance Andersen
a8f0f575ab 8278165: Clarify that ZipInputStream does not access the CEN fields for a ZipEntry
Reviewed-by: bpb, alanb
2022-09-16 18:52:25 +00:00
Naoto Sato
b8598b0297 8291660: Grapheme support in BreakIterator
Reviewed-by: smarks
2022-09-09 17:13:51 +00:00
Volker Simonis
2c61efe3de 8282648: Weaken the InflaterInputStream specification in order to allow faster Zip implementations
Reviewed-by: lancea, alanb, jpai, mr, darcy
2022-09-05 12:50:52 +00:00
Sergey Tsypanov
9a65524e2f 8290300: Use standard String-joining tools where applicable
Reviewed-by: naoto, rriggs, dfuchs
2022-08-21 17:22:10 +00:00
Volker Simonis
802ef38060 8292327: java.io.EOFException in InflaterInputStream after JDK-8281962
Reviewed-by: alanb, lancea
2022-08-17 09:34:41 +00:00
Jaikiran Pai
4b03e135e1 8285405: add test and check for negative argument to HashMap::newHashMap et al
Reviewed-by: chegar, naoto, lancea, smarks
2022-08-11 02:17:01 +00:00
Andrey Turbanov
ae52053757 8291954: Use Optional.isEmpty instead of !Optional.isPresent in java.base
Reviewed-by: jpai, alanb, lancea, rriggs, bpb
2022-08-06 09:53:35 +00:00
Sergey Tsypanov
efed7a7f65 8289908: Skip bounds check for cases when String is constructed from entirely used byte[]
Reviewed-by: prr, rriggs, aturbanov
2022-07-18 17:15:46 +00:00
Doug Lea
535804554d 8066859: java/lang/ref/OOMEInReferenceHandler.java failed with java.lang.Exception: Reference Handler thread died
Reviewed-by: alanb
2022-07-13 18:05:42 +00:00
Jonathan Gibbons
572c14efc6 8288624: Cleanup CommentHelper.getText0
Reviewed-by: hannesw
2022-07-13 14:45:04 +00:00
Jesper Wilhelmsson
c79baaa811 Merge 2022-07-11 16:15:49 +00:00