535 Commits

Author SHA1 Message Date
Raffaello Giulietti
1f868f1d09 8285658: Fix two typos in the spec of j.u.random.RandomGenerator
Reviewed-by: bpb, darcy
2022-04-27 19:19:29 +00:00
Johnny Lim
4919525ddb 8285440: Typo in Collections.addAll method javadoc
Reviewed-by: jpai, rriggs
2022-04-27 14:18:51 +00:00
Jim Laskey
85641c651d 8283084: RandomGenerator nextDouble(double, double) is documented incorrectly
Reviewed-by: bpb, darcy
2022-04-21 13:45:50 +00:00
Jim Laskey
4732b1d038 8274683: Code example provided by RandomGeneratorFactory does not compile
Reviewed-by: darcy
2022-04-21 13:40:02 +00:00
Magnus Ihse Bursie
fb469fb894 8284893: Fix typos in java.base
Reviewed-by: iris, wetmore, lancea, mullan, naoto
2022-04-19 20:07:57 +00:00
XenoAmess
87faa85c59 8186958: Need method to create pre-sized HashMap
Reviewed-by: chegar, naoto, joehw, lancea, wetmore, smarks
2022-04-19 00:03:56 +00:00
Pavel Rappo
d3d71ea289 8284922: Fix some doc-comment issues on methods with package access in JDK API
Reviewed-by: darcy, iris, bpb
2022-04-18 17:35:48 +00:00
Tagir F. Valeev
4cc8eccfca 8280915: Better parallelization for AbstractSpliterator and IteratorSpliterator when size is unknown
Reviewed-by: psandoz
2022-04-15 15:18:38 +00:00
Andrey Turbanov
f4edb59a6e 8284567: Collapse identical catch branches in java.base
Reviewed-by: darcy, iris, wetmore
2022-04-11 09:32:24 +00:00
Jaikiran Pai
eb3ead96b3 8284036: Make ConcurrentHashMap.CollectionView a sealed hierarchy
Reviewed-by: smarks
2022-04-11 01:24:18 +00:00
Naoto Sato
d6b4693c05 8283698: Refactor Locale constructors used in src/test
Reviewed-by: iris, joehw
2022-04-08 15:23:25 +00:00
Naoto Sato
526e73498e 8282819: Deprecate Locale class constructors
Reviewed-by: lancea, rriggs
2022-04-05 15:38:36 +00:00
Luis Pinto
63fec5da27 8283525: http://tools.ietf.org/html/* URLs return 404
Reviewed-by: coffeys
2022-04-01 13:26:20 +00:00
Andrey Turbanov
9bb916db0a 8283800: Simplify String.indexOf/lastIndexOf calls
Reviewed-by: xuelei, bpb, lmesnik
2022-03-30 07:07:56 +00:00
Ian Graves
f01cce235b 8264160: Regex \b is not consistent with \w without UNICODE_CHARACTER_CLASS
Reviewed-by: lancea, bpb, naoto
2022-03-29 00:01:57 +00:00
Jaikiran Pai
8567266795 8283683: Make ThreadLocalRandom a final class
Reviewed-by: smarks, chegar
2022-03-28 11:07:14 +00:00
Joe Darcy
f520b4f891 8283668: Update IllegalFormatException to use sealed classes
Reviewed-by: iris, jpai
2022-03-25 23:29:56 +00:00
Jaikiran Pai
91fab6ad59 8283411: InflaterInputStream holds on to a temporary byte array of 512 bytes
Reviewed-by: lancea, vtewari, alanb
2022-03-23 09:47:44 +00:00
Jim Laskey
557ff4b355 8282625: Formatter caches Locale/DecimalFormatSymbols poorly
Reviewed-by: naoto, rriggs, jpai
2022-03-22 15:32:46 +00:00
Ravi Reddy
ff0b0927a2 8278794: Infinite loop in DeflaterOutputStream.finish()
Reviewed-by: coffeys, lancea
2022-03-18 15:31:30 +00:00
XenoAmess
3e393047e1 8281631: HashMap copy constructor and putAll can over-allocate table
Reviewed-by: smarks
2022-03-16 16:48:49 +00:00
Jaikiran Pai
3cf83a671e 8282572: EnumSet should be a sealed class
Reviewed-by: sundar
2022-03-14 03:17:57 +00:00
Tim Prinzing
31ad80a229 8280902: ResourceBundle::getBundle may throw NPE when invoked by JNI code with no caller frame
Reviewed-by: naoto, mchung, ihse
2022-03-09 04:02:17 +00:00
Ian Graves
3fc009be8a 8281560: Matcher.hitEnd returns unexpected results in presence of CANON_EQ flag.
Reviewed-by: rriggs, lancea
2022-03-08 16:32:18 +00:00
Matteo Baccan
ccad39237a 8282657: Code cleanup: removing double semicolons at the end of lines
Reviewed-by: lancea, rriggs, ihse, prr, iris, wetmore, darcy, dholmes
2022-03-07 21:33:40 +00:00
Lance Andersen
f0995abe62 8280404: Unexpected exception thrown when CEN file entry comment length is not valid
Reviewed-by: alanb
2022-03-07 16:10:31 +00:00
Quan Anh Mai
fc52a2182a 8282143: Objects.requireNonNull should be ForceInline
Reviewed-by: psandoz
2022-03-02 00:46:35 +00:00
Lance Andersen
a020b6ba8f 8280409: JarFile::getInputStream can fail with NPE accessing ze.getName()
Reviewed-by: mullan, alanb
2022-02-23 16:56:50 +00:00
Volker Simonis
378fa507a2 8281962: Avoid unnecessary native calls in InflaterInputStream
Reviewed-by: clanger, redestad, alanb, lancea
2022-02-23 08:36:13 +00:00
Ian Graves
3cb38678aa 8281315: Unicode, (?i) flag and backreference throwing IndexOutOfBounds Exception
Reviewed-by: naoto
2022-02-22 16:31:57 +00:00
Ian Graves
41355e2daa 8276686: Malformed Javadoc inline tags in JDK source in /java/util/regex/Pattern.java
Reviewed-by: iris, bpb, lancea
2022-02-22 15:38:52 +00:00
Joe Darcy
4dbebb62aa 8280534: Enable compile-time doclint reference checking
Reviewed-by: serb, naoto, mchung, lancea, iris
2022-01-31 23:22:38 +00:00
Joe Darcy
cbe8395ace 8280168: Add Objects.toIdentityString
Reviewed-by: alanb, mchung, rriggs, smarks
2022-01-25 18:15:37 +00:00
Ian Graves
e3076552ec 8280403: RegEx: String.split can fail with NPE in Pattern.CharPredicate::match
Reviewed-by: lancea, iris, naoto, rriggs
2022-01-24 22:21:22 +00:00
Joe Darcy
8e82d0021c 8280492: Use cross-module syntax for cross-module links
Reviewed-by: iris, serb, lancea, dfuchs, aivanov
2022-01-24 20:16:38 +00:00
Aleksey Shipilev
d1569111d7 8280459: Suspicious integer division in Hashtable.readHashtable
Reviewed-by: rriggs, bpb
2022-01-24 09:18:20 +00:00
Jesper Wilhelmsson
4616c13c2f Merge 2022-01-20 01:18:38 +00:00
Andrey Turbanov
5af7f25814 8274811: Remove superfluous use of boxing in java.base
Reviewed-by: lancea
2022-01-19 10:59:40 +00:00
Weijun Wang
4d3663a6d0 8272026: Verify Jar Verification
Reviewed-by: rhalade, valeriep, mschoene
2022-01-18 23:35:35 +00:00
Ian Graves
aa28430bdd 8268813: Better String matching
Reviewed-by: mschoene, rhalade, smarks
2022-01-18 23:35:34 +00:00
Julia Boes
5832a34404 8270416: Enhance construction of Identity maps
Reviewed-by: dfuchs, chegar, rhalade, ahgross, smarks, robm
2022-01-18 23:35:34 +00:00
Masanori Yano
848b16a3f9 8272746: ZipFile can't open big file (NegativeArraySizeException)
Reviewed-by: lancea
2022-01-18 18:20:57 +00:00
Pavel Rappo
f180530935 8279918: Fix various doc typos
Reviewed-by: kevinw, lancea, mullan, sspitsyn, naoto, jlahoda, azvegint, egahlin, jjg
2022-01-14 16:10:14 +00:00
Sean Mullan
61b8944327 8278851: Correct signer logic for jars signed with multiple digestalgs
Reviewed-by: coffeys, weijun
2022-01-14 15:22:31 +00:00
Naoto Sato
0a094d7c28 8268081: Upgrade Unicode Data Files to 14.0.0
Reviewed-by: joehw, iris, lancea
2022-01-12 19:17:18 +00:00
Masanori Yano
3aaa0982d8 8276694: Pattern trailing unescaped backslash causes internal error
Reviewed-by: jlaskey
2022-01-11 22:37:15 +00:00
Naoto Sato
9cd709060c 8278587: StringTokenizer(String, String, boolean) documentation bug
Backport-of: 8f5fdd864b6f1cf4a2d9d961d8d4118960f0751e
2021-12-17 13:48:26 +00:00
Naoto Sato
8f5fdd864b 8278587: StringTokenizer(String, String, boolean) documentation bug
Reviewed-by: iris, joehw, lancea, rriggs, darcy
2021-12-16 21:41:38 +00:00
Sergey Tsypanov
20db7800a6 8277868: Use Comparable.compare() instead of surrogate code
Reviewed-by: rriggs, aivanov
2021-12-16 21:39:08 +00:00
Claes Redestad
aae563981c 8278642: Refactor java.util.Formatter
Reviewed-by: rriggs, naoto
2021-12-16 11:46:02 +00:00