591 Commits

Author SHA1 Message Date
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
Stuart Marks
eeaf0bbabc 8289872: wrong wording in @param doc for HashMap.newHashMap et. al.
Reviewed-by: chegar, naoto, iris
2022-07-08 17:03:48 +00:00
Jesper Wilhelmsson
01b9f95c62 Merge 2022-07-08 02:07:36 +00:00
Stuart Marks
a8eb728680 8289779: Map::replaceAll javadoc has redundant @throws clauses
Reviewed-by: prappo, iris
2022-07-07 16:54:15 +00:00
Jesper Wilhelmsson
048bffad79 Merge 2022-06-29 23:32:37 +00:00
Naoto Sato
cf7154498f 8289252: Recommend Locale.of() method instead of the constructor
Reviewed-by: joehw, rriggs
2022-06-29 15:47:26 +00:00
Raffaello Giulietti
570897498b 8288596: Random:from() adapter does not delegate to supplied generator in all cases
Reviewed-by: darcy
2022-06-29 14:56:28 +00:00
altrisi
af0088076d 8284640: CollectorImpl class could be a record class
Reviewed-by: phh, rriggs
2022-06-28 17:12:06 +00:00
Jesper Wilhelmsson
7039c6616a Merge 2022-06-20 19:38:49 +00:00
Lance Andersen
453e8beb43 8288527: broken link in java.base/java/util/zip/package-summary.html
Reviewed-by: bpb, martin
2022-06-20 17:32:31 +00:00
Andrey Turbanov
e833c1d179 8285519: Change usages of TimeUnit.convert to TimeUnit.toXXX
Reviewed-by: rriggs
2022-06-16 17:29:49 +00:00
Andrey Turbanov
f1143b1b57 8287696: Avoid redundant Hashtable.containsKey call in JarVerifier.doneWithMeta
Reviewed-by: jpai, lancea
2022-06-11 10:53:35 +00:00
XenoAmess
e01cd7c3ed 8284780: Need methods to create pre-sized HashSet and LinkedHashSet
Reviewed-by: naoto, bpb, dfuchs, ascarpino
2022-06-09 01:50:54 +00:00
Raffaello Giulietti
c8cff1bd6f 8202449: overflow handling in Random.doubles
Reviewed-by: darcy
2022-06-08 16:28:18 +00:00
Sergey Tsypanov
4fe0ca9ec3 8287860: Revise usage of volatile in j.u.Locale
Reviewed-by: naoto
2022-06-07 11:46:06 +00:00
Anthony Vanelverdinghe
3d2d039538 8287440: Typo in package-info.java of java.util.random
Reviewed-by: darcy, iris, jpai
2022-05-29 14:26:19 +00:00
Andrey Turbanov
295be6f10f 8287285: Avoid redundant HashMap.containsKey call in java.util.zip.ZipFile.Source.get
Reviewed-by: jpai, alanb
2022-05-26 20:32:56 +00:00
Mark Powers
6cc4bb1169 6725221: Standardize obtaining boolean properties with defaults
Reviewed-by: prr, rriggs
2022-05-24 18:16:07 +00:00
Alexey Ivanov
e0d361cea9 8284191: Replace usages of 'a the' in hotspot and java.base
Reviewed-by: lancea, wetmore, naoto, iris, kevinw, xuelei
2022-05-24 11:25:13 +00:00
Christian Stein
655500a4f5 8286654: Add an optional description accessor on ToolProvider interface
Reviewed-by: jjg, darcy, lancea
2022-05-19 18:25:12 +00:00
Naoto Sato
b884db8f7c 8285844: TimeZone.getTimeZone(ZoneOffset) does not work for all ZoneOffsets and returns GMT unexpected
Reviewed-by: uschindler, scolebourne, joehw
2022-05-16 15:45:01 +00:00
Jaikiran Pai
e4378ab28d 8286559: Re-examine synchronization of mark and reset methods on InflaterInputStream
Reviewed-by: lancea, alanb, bpb
2022-05-14 03:21:01 +00:00