662 Commits

Author SHA1 Message Date
Justin Lu
4e92991809 8300794: Use @snippet in java.util:i18n
Reviewed-by: naoto, lancea
2023-05-16 17:10:21 +00:00
Viktor Klang
8a95020ab6 8151531: Add notes to BaseStream.spliterator/iterator docs regarding them being escape hatches
Reviewed-by: psandoz
2023-05-10 16:29:34 +00:00
Jim Laskey
4aa65cbeef 8285932: Implementation of JEP 430 String Templates (Preview)
Reviewed-by: mcimadamore, rriggs, darcy
2023-05-10 11:34:01 +00:00
Justin Lu
82bcee76ea 8159337: Introduce a method in Locale class to return the language tags as per RFC 5646 convention
Reviewed-by: naoto, rriggs
2023-05-09 17:15:06 +00:00
Viktor Klang
fdbfc8a73b 8133773: clarify specification of Spliterator.tryAdvance
Reviewed-by: psandoz, tvaleev, rriggs
2023-05-09 15:37:23 +00:00
Raffaello Giulietti
93ee19f58a 8305486: Add split() variants that keep the delimiters to String and j.u.r.Pattern
Reviewed-by: jpai, rriggs
2023-05-08 14:51:35 +00:00
Stuart Marks
da9efee1c2 8296935: Arrays.asList() can return a List that throws undocumented ArrayStoreException
Reviewed-by: rriggs, lancea
2023-04-28 19:45:29 +00:00
Stuart Marks
17ce0976e4 8266571: Sequenced Collections
Reviewed-by: alanb
2023-04-25 15:19:08 +00:00
Justin Lu
ffb2494de4 8305207: Calendar.aggregateStamp(int, int) return value can be simplified
Reviewed-by: naoto, rriggs, iris
2023-04-20 21:20:08 +00:00
Justin Lu
174c1a6d53 4737887: (cal) API: Calendar methods taking field should document exceptions
Reviewed-by: naoto
2023-04-20 21:11:00 +00:00
Viktor Klang
54bf370079 8170945: Collectors$Partition should override more Map methods
Reviewed-by: smarks
2023-04-14 09:16:16 +00:00
Eirik Bjorsnos
425ef0685c 8303923: ZipOutStream::putEntry should include an apiNote to indicate that the STORED compression method should be used when writing directory entries
Reviewed-by: lancea, alanb
2023-04-12 21:44:21 +00:00
Alan Bateman
2586f36120 8304919: Implementation of Virtual Threads
Reviewed-by: lmesnik, cjplummer, psandoz, mchung, sspitsyn, jpai
2023-04-11 05:49:54 +00:00
Justin Lu
2aeb0e5267 6241286: (cal) API: Calendar.DAY_OF_WEEK definition is wrong
Reviewed-by: naoto
2023-04-10 21:47:16 +00:00
Justin Lu
42965d390c 6218123: (cal) API: Spec for GregorianCalendar constructors and Calendar getInstance is inconsistent.
Reviewed-by: naoto
2023-04-10 21:46:31 +00:00
Eirik Bjorsnos
0d45a524b3 8302819: Remove JAR Index
Reviewed-by: mchung, alanb, lancea, jpai
2023-04-10 11:23:21 +00:00
Viktor Klang
08fbb7bb5e 8272119: Typo in JDK documentation (a -> an)
Reviewed-by: dfuchs, mchung, iris
2023-04-06 15:50:13 +00:00
Tingjun Yuan
b5ea140dff 8269843: typo in LinkedHashMap::removeEldestEntry spec
Reviewed-by: martin
2023-04-06 06:35:19 +00:00
Naoto Sato
44f33ad1a9 8304982: Emit warning for removal of COMPAT provider
Reviewed-by: alanb
2023-04-05 16:06:23 +00:00
Naoto Sato
ee3023359c 8305107: Emoji related binary properties in RegEx
Reviewed-by: iris, rriggs, jpai
2023-04-05 16:04:27 +00:00
Justin Lu
a324fa2639 8225641: Calendar.roll(int field) does not work correctly for WEEK_OF_YEAR
Reviewed-by: naoto
2023-04-04 21:01:24 +00:00
Jonathan Gibbons
c6bd489cc8 8305206: Add @spec tags in java.base/java.* (part 1)
Reviewed-by: alanb, naoto, darcy, lancea, dfuchs, iris, mchung
2023-04-04 00:09:38 +00:00
Martin Buchholz
a565be4dc5 8297605: improve DelayQueue removal method javadoc
Reviewed-by: alanb
2023-03-31 18:11:53 +00:00
Justin Lu
5f7b4b8e75 8305111: Locale.lookupTag has typo in parameter
Reviewed-by: lancea, iris, naoto
2023-03-30 22:33:59 +00:00
Per Minborg
9df2060059 8305157: The java.util.Arrays class should be declared final
Reviewed-by: alanb, rriggs, bpb
2023-03-30 09:24:35 +00:00
Raffaello Giulietti
ca745cb426 8291598: Matcher.appendReplacement should not create new StringBuilder instances
Reviewed-by: rriggs
2023-03-28 17:55:23 +00:00
nbauma109
a06f46196a 8303214: Typo in java.util.Collections#synchronizedNavigableMap javadoc
Reviewed-by: martin, smarks, aturbanov
2023-03-28 08:47:55 +00:00
Justin Lu
f8e8fc7e29 8177352: Calendar.getDisplayName(s) in non-lenient mode inconsistent, does not match spec
Reviewed-by: naoto
2023-03-27 21:36:14 +00:00
Roger Riggs
6c3b10fb1d 8303485: Replacing os.name for operating system customization
Reviewed-by: naoto, erikj, alanb
2023-03-27 17:45:20 +00:00
Justin Lu
dd23ee9e87 8303917: Update ISO 639 language codes table
Reviewed-by: naoto
2023-03-23 21:15:40 +00:00
Viktor Klang
ded6a81319 8303742: CompletableFuture.orTimeout leaks if the future completes exceptionally
Reviewed-by: jpai, alanb
2023-03-20 13:55:47 +00:00
Justin Lu
a3358b10ca 8303853: Update ISO 3166 country codes table
Reviewed-by: naoto
2023-03-10 17:39:13 +00:00
Viktor Klang
f2a36b4b52 8302666: Replace CHM with VarHandle in ForeachOrderedTask
Reviewed-by: psandoz
2023-03-10 16:01:12 +00:00
Viktor Klang
d06308c54a 8302360: Atomic*.compareAndExchange Javadoc unclear
Reviewed-by: martin, dholmes
2023-03-10 00:31:04 +00:00
Justin Lu
02875e77fd 8171156: Class java.util.LocaleISOData has outdated information for country Code NP
Reviewed-by: naoto
2023-03-09 00:09:39 +00:00
Eirik Bjorsnos
05ceb37a2c 8303833: java.util.LocaleISOData has wrong comments for 'Norwegian Bokmål' and 'Volapük'
Reviewed-by: naoto
2023-03-08 21:25:21 +00:00
Justin Lu
acf899612f 8303275: Use {@Return and @linkplain in Locale and related classes
Reviewed-by: naoto
2023-03-07 18:18:59 +00:00
Ian Graves
ac3ab5b007 8217496: Matcher.group() can return null after usePattern
Reviewed-by: smarks
2023-03-07 17:20:04 +00:00
Justin Lu
05faa7321b 8303232: java.util.Date.parse(String) and java.util.Date(String) don't declare thrown IllegalArgumentException
Reviewed-by: jpai, lancea, naoto
2023-03-01 18:13:42 +00:00
Justin Lu
7e47d51e10 8282319: java.util.Locale method to stream available Locales
Reviewed-by: stsypanov, naoto, lancea, rriggs
2023-03-01 00:36:22 +00:00
Archie L. Cobbs
1e3c9fd67e 8026369: javac potentially ambiguous overload warning needs an improved scheme
Reviewed-by: vromero
2023-02-28 03:33:14 +00:00
Alan Bateman
2e78d838a5 8302899: Executors.newSingleThreadExecutor can use Cleaner to shutdown executor
Reviewed-by: rriggs, martin, dfuchs, bchristi
2023-02-25 07:48:57 +00:00
Tagir F. Valeev
3f3a1f534b 8302815: Use new Math.clamp method in core libraries
Reviewed-by: alanb
2023-02-22 09:51:14 +00:00
Claes Redestad
d6716d2e54 8302315: Examine cost of clone of primitive arrays compared to arraycopy
Reviewed-by: alanb
2023-02-18 15:17:57 +00:00
Eirik Bjorsnos
78f71b4d41 8301873: Avoid string decoding in ZipFile.Source.getEntryPos
Reviewed-by: redestad, lancea
2023-02-18 12:39:19 +00:00
Jaikiran Pai
43cf8b3d80 8302664: Fix several incorrect usages of Preconditions.checkFromIndexSize
Reviewed-by: djelinski, dfuchs, alanb
2023-02-18 00:48:29 +00:00
Brian Burkhalter
5b2d430131 8297632: InputStream.transferTo() method should specify what the return value should be when the number of bytes transfered is larger than Long.MAX_VALUE
Reviewed-by: alanb, lancea
2023-02-14 16:30:52 +00:00
Eirik Bjorsnos
d782125c8f 8302214: Typo in javadoc of Arrays.compare and Arrays.mismatch
Reviewed-by: jpai
2023-02-14 06:58:56 +00:00
Claes Redestad
1f9c110c1f 8301958: Reduce Arrays.copyOf/-Range overheads
Reviewed-by: alanb, smarks
2023-02-13 11:17:38 +00:00
Mandy Chung
10dd98d0dd 8301462: Convert Permission files to use lambda after JDK-8076596
Reviewed-by: jpai, dfuchs, mullan
2023-02-08 19:06:41 +00:00