204 Commits

Author SHA1 Message Date
Doug Lea
9f5e9b5b5f 8221120: CopyOnWriteArrayList.set should always have volatile write semantics
Reviewed-by: martin
2019-05-02 06:33:28 -07:00
Adam Farley8
d97dd4d554 8222930: ConcurrentSkipListMap.clone() shares size variable between original and clone
Co-authored-by: Martin Buchholz <martinrb@google.com>
Reviewed-by: martin, smarks
2019-05-02 06:33:28 -07:00
Stuart Marks
1aa784cdac 8221924: get(null) on single-entry unmodifiable Map returns null instead of throwing NPE
Reviewed-by: redestad, lancea
2019-04-09 09:49:36 -07:00
Claes Redestad
f7fa05ca72 8221921: Implement size() / isEmpty() in immutable collections
Reviewed-by: smarks
2019-04-04 23:21:52 +02:00
Claes Redestad
15d989faa4 8221981: Simplify Map/List/Set.of() implementation
Reviewed-by: smarks
2019-04-04 23:21:24 +02:00
Claes Redestad
3233a6f944 8221980: Simplify Optional implementation
Reviewed-by: smarks, clanger
2019-04-04 23:19:26 +02:00
Claes Redestad
5c06e0a912 8221701: Archive constant BaseLocales
Reviewed-by: naoto
2019-04-03 17:06:35 +02:00
Naoto Sato
0b2e2ca9bd 8174268: Declare a public field in JapaneseEra for the era starting May 2019
Reviewed-by: rriggs, chegar
2019-04-01 08:21:45 -07:00
Naoto Sato
2a510a6353 8205432: Replace the placeholder Japanese era name
Reviewed-by: rriggs, chegar
2019-04-01 08:19:21 -07:00
Claes Redestad
cf334e7de5 8221687: Deprecated j.u.jar.Attributes.Name attributes accidentally set to null
Reviewed-by: alanb
2019-03-29 15:59:28 +01:00
Claes Redestad
c013c7bd2f 8214712: Archive Attributes$Name.KNOWN_NAMES
Reviewed-by: alanb, jiangli
2018-12-03 16:25:27 +01:00
Jonathan Gibbons
2df0f4b4dd 8220249: fix headings in java.compiler
Reviewed-by: erikj, darcy
2019-03-20 15:35:26 -07:00
Naoto Sato
c12d6ac1a7 8219890: Calendar.getDisplayName() returns empty string for new Japanese Era on some locales
Reviewed-by: lancea
2019-02-28 14:03:04 -08:00
Philipp Kunz
24af91dc02 8219548: Better Null paramenter checking in ToolProvider
Reviewed-by: lancea, alanb, jjg
2019-02-26 13:14:26 -05:00
Doug Lea
ff97b60fde 8215249: Miscellaneous changes imported from jsr166 CVS 2019-02
Reviewed-by: martin, chegar, dholmes
2019-02-15 11:18:01 -08:00
Doug Lea
bb6d423ab8 8215363: needless signals in ForkJoinPool
Reviewed-by: martin, chegar, dholmes
2019-02-15 11:18:01 -08:00
Doug Lea
a7ab4d7bd3 8215359: InnocuousForkJoinWorkerThread.setContextClassLoader needlessly throws
Reviewed-by: martin, chegar, dholmes, reinhapa, alanb
2019-02-15 11:18:01 -08:00
Doug Lea
f0807ebc18 8210280: Unnecessary reallocation when invoking HashMap.putAll()
Co-authored-by: Michal Vala <mvala@redhat.com>
Co-authored-by: Martin Buchholz <martinrb@google.com>
Reviewed-by: martin, mvala, igerasim, chegar, rriggs
2019-02-08 13:39:22 -08:00
Nishit Jain
13a52f3a17 8217969: Base64.Decoder.decode methods do not need to throw OOME due to integer overflow
8218265: java/util/Base64/TestEncodingDecodingLength.java failing

Reviewed-by: rriggs, naoto
2019-02-06 13:57:19 +05:30
Lance Andersen
9b0b058ee7 8217393: Clarify Attributes.equals()
Reviewed-by: alanb, darcy, rriggs, martin
2019-02-04 14:10:53 -05:00
Andrey Turbanov
cfeb359800 8218022: Repeated words typos in java.base
Reviewed-by: alanb, lancea, mchung
2019-01-30 00:24:32 +00:00
Nishit Jain
72141ff6e6 8210583: Base64.Encoder incorrectly throws NegativeArraySizeException
Reviewed-by: rriggs, naoto, darcy, alanb
2019-01-24 12:45:19 +05:30
Philipp Kunz
44ba433328 8216362: Better error message handling when there is an invalid Manifest
Reviewed-by: lancea, rriggs, mullan
2019-01-10 14:32:56 -05:00
Claes Redestad
68884330e1 8215995: Add specialized toArray methods to immutable collections
Reviewed-by: martin, smarks
2019-01-09 01:06:19 +01:00
Roger Riggs
0359a76b78 8215798: Use {@systemProperty} for definition of org.openjdk.java.util.stream.tripwire property
Reviewed-by: lancea
2019-01-04 12:30:20 -05:00
Jesper Wilhelmsson
59716b0bb3 Merge 2019-01-02 16:05:13 +01:00
Tagir F. Valeev
42e7372b3e 8214687: Optimize Collections.nCopies().hashCode() and equals()
Reviewed-by: igerasim, smarks
2018-12-30 08:57:24 +07:00
Deepak kejriwal
6774e567aa 8214567: Use {@systemProperty} for definitions of system properties
8214569: Use {@systemProperty} for definitions of system properties

Reviewed-by: lancea, mchung, alanb, naoto
2018-12-26 17:09:19 +05:30
Philipp Kunz
1dae61a374 8066619: Fix deprecation warnings in java.util.jar
Reviewed-by: rriggs, lancea
2018-12-21 09:54:32 -05:00
Claes Redestad
a3df1d618e 8215281: Use String.isEmpty() when applicable in java.base
Reviewed-by: dfuchs, alanb
2018-12-13 15:31:05 +01:00
Doug Lea
3d9ab36ca0 8215326: Test java/util/concurrent/ConcurrentHashMap/ToArray.java hangs after j.u.c updates
Reviewed-by: martin, dholmes
2018-12-12 20:13:39 -08:00
Doug Lea
f4016e5582 8214457: Miscellaneous changes imported from jsr166 CVS 2018-12
Reviewed-by: martin
2018-12-11 19:55:27 -08:00
Doug Lea
8846159987 8214427: probable bug in logic of ConcurrentHashMap.addCount()
Reviewed-by: martin, dholmes
2018-12-11 19:55:27 -08:00
Doug Lea
6c78aa9571 8214559: Use {@systemProperty} for definitions of system properties
Reviewed-by: martin, jjg
2018-12-11 19:55:27 -08:00
Roger Riggs
938b844088 8214971: Replace use of string.equals("") with isEmpty()
Reviewed-by: jlaskey, prappo, lancea, dfuchs, redestad
2018-12-07 11:51:17 -05:00
Stuart Marks
4ecdb03864 8211882: Broken links in serialized-form.html
Reviewed-by: darcy, lancea
2018-12-06 14:34:11 -08:00
Jonathan Gibbons
5067ff8509 8214745: Bad link in coll-reference.html
Reviewed-by: martin, bpb, lancea
2018-12-03 16:44:57 -08:00
Jonathan Gibbons
99f78427f2 8214744: Unnecessary <p> tags in java.util.zip.Deflater
Reviewed-by: mchung, lancea
2018-12-03 16:14:15 -08:00
Naoto Sato
e6eddb6739 8212878: host in ftp: link not found
Reviewed-by: bpb
2018-11-29 13:17:14 -08:00
Naoto Sato
0c42c697ed 8212870: Broken links for www.usno.navy.mil
Reviewed-by: bpb
2018-11-29 13:16:41 -08:00
Naoto Sato
5fc8ae7c71 8214170: ResourceBundle.Control.newBundle should throw IllegalAccessException when constructor of the resource bundle is not public
Reviewed-by: rriggs, mchung
2018-11-29 10:13:42 -08:00
Doug Lea
53d3a4f50c 8211283: Miscellaneous changes imported from jsr166 CVS 2018-11
Reviewed-by: martin, chegar
2018-11-28 15:25:14 -08:00
Doug Lea
5a5aa52772 8211877: Broken links in java.util.concurrent.atomic
Reviewed-by: martin, jjg
2018-11-28 15:25:14 -08:00
Mandy Chung
9ffe7e1205 8211122: Reduce the number of internal classes made accessible to jdk.unsupported
Reviewed-by: alanb, dfuchs, kvn
2018-11-06 10:01:16 -08:00
Lance Andersen
a655e6b52b 8212129: Remove finalize methods from java.util.zip.ZipFIle/Inflator/Deflator
Reviewed-by: rriggs, sherman, alanb, clanger
2018-10-26 14:02:31 -04:00
Mandy Chung
5e6d6b8642 8207146: Rename jdk.internal.misc.Unsafe::xxxObject to xxxReference
Reviewed-by: dholmes, thartmann
2018-10-22 17:00:04 -07:00
Weijun Wang
61d19ee892 8208754: The fix for JDK-8194534 needs updates
Reviewed-by: alanb, igerasim, rhalade, mullan
2018-08-08 08:05:43 +08:00
Weijun Wang
a58b68027b 8194534: Manifest better support
Reviewed-by: mchung, igerasim
2018-04-17 15:55:49 +08:00
Xueming Shen
cd8e70a35c 8199172: Improve jar attribute checks
Reviewed-by: psandoz, alanb
2018-04-04 13:55:30 -07:00
Naoto Sato
a3a7edbd4d 8211961: Broken link in java.util.Locale
Reviewed-by: mchung
2018-10-15 09:35:05 -07:00