229 Commits

Author SHA1 Message Date
Mikael Vidstedt
f08a9de3b2 Merge 2019-07-17 04:33:37 -07:00
Claes Redestad
78a1c8ea0a 8227587: Add internal privileged System.loadLibrary
Reviewed-by: rriggs, mchung, chegar
2019-07-17 12:35:46 +02:00
Henry Jen
f860f94696 Merge 2019-07-17 00:21:02 +00:00
Peter Levart
49daf1dc19 8227368: EnumSet.class serialization broken in JDK 9+
Reviewed-by: smarks
2019-07-13 10:43:45 +00:00
Ivan Gerasimov
f853b31306 8224716: Javadoc of Int/Long/DoubleSummaryStatistics should mention possible overflow of count
Reviewed-by: bpb
2019-06-26 17:06:43 -07:00
Ivan Gerasimov
c9ca2c7a90 8224849: Flag (?U:...) is allowed for non-capturing groups
Reviewed-by: bchristi
2019-06-25 18:20:21 -07:00
Tagir F. Valeev
822c02437a 8225339: Optimize HashMap.keySet()/HashMap.values()/HashSet toArray() methods
Reviewed-by: rriggs, redestad, smarks
2019-06-14 05:02:58 +00:00
Ivan Gerasimov
4a3b3d365e 8225397: Integer value miscalculation in toString() method of BitSet
Reviewed-by: aph
2019-06-06 17:20:19 -07:00
Claes Redestad
27d8c3f7b4 8224240: Properties.load fails to throw IAE on malformed unicode in certain circumstances
Reviewed-by: smarks, rriggs, dfuchs
2019-06-05 10:23:06 +02:00
Claes Redestad
a2f40ec3e1 8225179: (regex) Minor Pattern cleanup
Reviewed-by: igerasim
2019-06-05 10:07:22 +02:00
Ivan Gerasimov
90e6c1cc36 8225198: Optimize regex tree for greedy quantifiers of type {N,}
Reviewed-by: redestad, bchristi
2019-06-04 18:55:53 -07:00
Claes Redestad
1813ce706a 8225061: Performance regression in Regex
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Reviewed-by: naoto, alanb
2019-06-01 03:18:23 +02:00
Ivan Gerasimov
f5e2916507 8224789: Parsing repetition count in regex does not detect numeric overflow
Reviewed-by: rriggs, bchristi
2019-05-29 13:44:27 -07:00
Doug Lea
05cd3a7bce 8223245: Miscellaneous changes imported from jsr166 CVS 2019-06
Reviewed-by: martin
2019-05-24 08:55:03 -07:00
Doug Lea
ae0b26613c 8220478: java/util/concurrent/ConcurrentHashMap/ToArray.java timed out intermittently
8223379: Clarify ForkJoinPool.getStealCount() javadoc

Reviewed-by: martin
2019-05-24 08:51:04 -07:00
Doug Lea
5892b0663f 8224176: Fix inconsistencies in @jls tags in java.util.concurrent
Reviewed-by: martin, darcy, jjg
2019-05-24 08:43:40 -07:00
Doug Lea
579854e397 8224698: ConcurrentSkipListMap.java does not compile with the Eclipse Java Compiler
Reviewed-by: martin, clanger, smarks, dfuchs
2019-05-24 08:39:37 -07:00
Naoto Sato
93fabcdc5a 8221431: Support for Unicode 12.1
Reviewed-by: erikj, rriggs
2019-05-23 12:21:21 -07:00
Claes Redestad
617a981cc4 8224202: Speed up Properties.load
Reviewed-by: rriggs, igerasim
2019-05-23 18:43:47 +02:00
Ivan Gerasimov
218204b1a3 8223593: Refactor code for reallocating storage
Reviewed-by: prappo, plevart, rriggs, smarks
2019-05-21 18:40:29 -07:00
Ivan Gerasimov
b7ea7e93aa 8223174: Pattern.compile() can throw confusing NegativeArraySizeException
Reviewed-by: martin
2019-05-03 23:00:07 -07:00
Joe Darcy
2f747f3dba 8223265: Clarify operational semantics of java.util.Objects.equals()
Reviewed-by: bpb, alanb
2019-05-03 09:25:59 -07:00
Doug Lea
146e92ca8a 8220248: fix headings in java.util.concurrent
Reviewed-by: martin, jjg
2019-05-02 06:33:28 -07:00
Doug Lea
82b990abc9 8221892: ThreadPoolExecutor: Thread.isAlive() is not equivalent to not being startable
Reviewed-by: martin, dholmes
2019-05-02 06:33:28 -07:00
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
Stuart Marks
12efd2fa4f 8213432: Better copies of CopiesList
Reviewed-by: rriggs, skoivu, ahgross, robm, rhalade, jeff
2019-01-23 14:45:54 -08: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