363 Commits

Author SHA1 Message Date
Henry Jen
9ac2f8b654 8234542: code removal of Pack200 Tools and API
Reviewed-by: alanb, mchung, erikj
2019-12-10 00:36:30 +00:00
Claes Redestad
de96aeddf5 8236850: Operations on constant List/Set.of(element) instances does not consistently constant fold
Reviewed-by: smarks, jrose, rriggs, psandoz
2020-01-14 23:40:42 +01:00
Sean Coffey
2c5167803a 8234466: Class loading deadlock involving X509Factory#commitEvent()
Reviewed-by: alanb, chegar, dfuchs
2020-01-13 21:16:27 +00:00
Ivan Gerasimov
78c4ab4449 8234423: Modifying ArrayList.subList().subList() resets modCount of subList
Reviewed-by: rriggs
2020-01-09 15:38:41 -08:00
Ivan Gerasimov
cd589d8469 8234147: Avoid looking up standard charsets in core libraries
Reviewed-by: alanb
2019-12-01 15:29:37 -08:00
Julia Boes
aa66dd422f 8234799: javadoc of java.util.Arrays.compare(T[] a, T[] b) misses the word "less"
Add word "less" to method-level javadoc

Reviewed-by: dfuchs, lancea
2019-11-27 15:13:58 +00:00
Julia Boes
a8a2246158 8234335: Remove line break in class declaration in java.base
Remove line break in class declarations where applicable

Reviewed-by: rriggs, lancea
2019-11-21 09:10:21 +00:00
Kiran Ravikumar
25d3cf9216 8233731: repeated typo "fro" for "for"
Reviewed-by: dfuchs
2019-11-13 11:27:50 +00:00
Vladimir Yaroslavskiy
de54eb1513 8226297: Dual-pivot quicksort improvements
Reviewed-by: dl, lbourges
2019-11-12 13:49:40 -08:00
Ivan Gerasimov
f82e4b1b76 8235930: java.util.regex.PrintPattern does not print a link to the next node
Reviewed-by: martin
2019-12-15 09:33:50 -08:00
Doug Lea
f29d1d172b 8231026: Miscellaneous changes imported from jsr166 CVS 2019-11
Reviewed-by: martin
2019-11-01 09:07:59 -07:00
Doug Lea
dc7d30d08e 8231592: Clarify that ConcurrentHashMap compute methods mapping functions execute at most once
Reviewed-by: martin
2019-11-01 09:04:04 -07:00
Lance Andersen
3cc7b5babe 8231451: ZipFileInputStream::skip handling of negative values with STORED entries
Reviewed-by: clanger, bpb, alanb
2019-10-30 15:54:41 -04:00
Ivan Gerasimov
463d6e9640 8231859: Extra dash after the exception name in @throws clause of javadoc
Reviewed-by: weijun
2019-10-16 18:47:11 -07:00
Joe Darcy
98c9f8bdc7 8232230: Suppress warnings on non-serializable non-transient instance fields in java.util.concurrent
Reviewed-by: martin
2019-10-16 16:55:52 -07:00
Henry Jen
8d141f1048 Merge 2019-10-14 21:01:25 +00:00
Joe Darcy
3c9b6d8554 8231202: Suppress warnings on non-serializable non-transient instance fields in serializable classes
Reviewed-by: rriggs, chegar
2019-10-09 10:17:50 -07:00
Stuart Marks
ba63c30a94 8231977: Discuss serializability of collections
Reviewed-by: darcy, plevart, chegar
2019-10-07 17:13:59 -07:00
Julia Boes
4dafa3033f 8231161: Wrong return type in code sample in Collector API documentation
Correct declaration of container from R to A and add compilation test

Reviewed-by: smarks, lancea
2019-10-03 18:59:56 +01:00
Doug Lea
a9254cbcfa 8231032: ThreadMXBean locking tests fail after JSR 166 refresh
Reviewed-by: martin, mchung, dholmes
2019-09-27 12:20:14 -07:00
Julia Boes
d15a57b842 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base
Minor coding style update of javadoc tag in any file in java.base

Reviewed-by: bchristi, lancea
2019-09-24 09:43:43 +01:00
Julia Boes
b15b322cf3 8230648: Replace @exception tag with @throws in java.base
Minor coding style update of javadoc tag in any file in java.base

Reviewed-by: prappo, lancea
2019-09-20 11:07:52 +01:00
Doug Lea
eb1eadb69f 8225490: Miscellaneous changes imported from jsr166 CVS 2019-09
Reviewed-by: martin, alanb
2019-09-14 11:26:26 -07:00
Doug Lea
80fe274875 8229442: AQS and lock classes refresh
Reviewed-by: martin
2019-09-14 11:16:40 -07:00
Ivan Gerasimov
5e7e0e7bbe 8230829: Matcher matches a surrogate pair that crosses border of the region
Reviewed-by: naoto
2019-09-12 11:07:35 -07:00
Joe Darcy
9d764ee48e 8229997: Apply java.io.Serial annotations in java.base
Reviewed-by: alanb, rriggs
2019-08-29 16:31:34 -07:00
Ivan Gerasimov
d607548f20 8230338: Accurate error message about bad Unicode block name
Reviewed-by: rriggs
2019-08-29 07:39:06 -07:00
Ivan Gerasimov
3ed845784d 8226831: Use Objects.equals() when appropriate
Reviewed-by: rriggs, bpb
2019-08-27 14:44:21 -07:00
Jesper Wilhelmsson
2ce6d6ba36 Merge 2019-08-07 22:43:49 +02:00
Lance Andersen
5233e25c4c 8226530: ZipFile reads wrong entry size from ZIP64 entries
Reviewed-by: bpb, clanger, shade
2019-08-07 14:04:10 -04:00
Patrick Concannon
c98e06ff52 8228971: Locale API doc has redundant hyphens for some parameters
Reviewed-by: lancea
2019-08-07 08:42:14 -07:00
Ivan Gerasimov
66dc6cf25b 8228352: CANON_EQ breaks when pattern contains supplementary codepoint
Reviewed-by: naoto
2019-08-01 07:14:03 -07:00
Naoto Sato
11ab995e6c 8228465: HOST locale provider holds wrong era name for GregorianCalendar in US locale
Reviewed-by: lancea
2019-07-26 13:32:59 -07:00
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