345 Commits

Author SHA1 Message Date
Naoto Sato
004901e102 8171189: Deprecate ResourceBundleControlProvider for removal
Reviewed-by: mchung
2016-12-19 09:56:11 -08:00
Stuart Marks
292fe71e60 8170943: Collectors.partitioningBy should specify that false and true entries are always present
Reviewed-by: psandoz
2016-12-13 17:45:37 -08:00
Mandy Chung
37e807c698 8170772: ResourceBundle improper caching causes tools/javadoc tests intermittently
Reviewed-by: dfuchs, naoto
2016-12-09 16:38:34 -08:00
Xueming Shen
d08eb8c2a9 8170831: ZipFile implementation no longer caches the last accessed entry/pos
Reviewed-by: psandoz
2016-12-07 11:53:26 -08:00
Martin Buchholz
502274b2c1 8170560: Improve code samples in Collectors javadoc
Reviewed-by: psandoz
2016-11-30 19:40:36 -08:00
Rachna Goel
794ed77e32 8071929: Locale.getISOCountries() has inconsistent behaviour for "AN", "BU" and "CS" country codes
Reviewed-by: naoto
2016-12-07 11:35:12 +05:30
Stuart Marks
9877170d02 8166446: SingletonIterator.forEachRemaining doesn't advance before calling action
Reviewed-by: martin
2016-12-06 17:26:43 -08:00
Paul Sandoz
36779a0df3 8170733: HashMap.HashIterator.remove method does not use cached value for the hash code
Reviewed-by: martin, dl, shade
2016-12-05 13:00:32 -08:00
Paul Sandoz
c7da82e9c0 8166914: URLClassLoader spec needs to mention that it's MR-aware
Reviewed-by: mchung, alanb
2016-12-02 10:05:53 -08:00
Alan Bateman
30bcdb962c Merge 2016-12-01 11:16:23 +00:00
Alan Bateman
fbe85300bf 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Reviewed-by: plevart, chegar, psandoz, mchung, alanb, dfuchs, naoto, coffeys, weijun
2016-12-01 08:57:53 +00:00
Paul Sandoz
7e58564540 8168745: Iterator.forEachRemaining vs. Iterator.remove
Reviewed-by: martin, smarks
2016-11-30 17:15:58 -08:00
Doug Lea
cee580a37d 8166646: Miscellaneous changes imported from jsr166 CVS 2016-10
Reviewed-by: martin, smarks, psandoz
2016-11-28 23:47:23 -08:00
Doug Lea
3f4bdaf9bd 8169272: Clarify Semaphore.drainPermits behavior when current permits are negative
Reviewed-by: martin, smarks, psandoz
2016-11-28 23:43:39 -08:00
Doug Lea
58623faf53 8166507: ConcurrentSkipListSet.clear() can leave the Set in an invalid state
Reviewed-by: martin, smarks, psandoz
2016-11-28 23:39:54 -08:00
Doug Lea
3d0d86185e 8143577: optimize ArrayList.removeIf
8169679: ArrayList.subList().iterator().forEachRemaining() off-by-one-error
8167202: ArrayDeque improvements
8164793: new ArrayDeque(2**N) allocates backing array of size 2**(N+1)
8169739: LinkedBlockingDeque spliterator needs to support node self-linking
8169738: CopyOnWriteArrayList subList needs more synchronization

Reviewed-by: martin, smarks, psandoz, forax
2016-11-28 23:36:11 -08:00
Paul Sandoz
f5f1fcb803 8132964: Spliterator documentation on Priority(Blocking)Queue
Reviewed-by: martin, dl, chegar
2016-11-23 10:35:44 -08:00
Paul Sandoz
11b92f7ddb 8169808: Stream returning methods should specify if they are late binding
Reviewed-by: martin
2016-11-23 10:35:43 -08:00
Paul Sandoz
ce32d2aec8 8072784: Better spliterator implementation for BitSet.stream()
Reviewed-by: martin
2016-11-16 14:26:14 -08:00
Paul Sandoz
4bcf62b9d1 8132097: Stream.generate should use a covariant Supplier as parameter
Reviewed-by: forax, martin
2016-11-16 14:26:12 -08:00
Paul Sandoz
9555cf3b50 8164934: Optional.map() javadoc code example
Reviewed-by: forax, chegar
2016-11-09 10:36:32 -08:00
Paul Sandoz
e7fe2a82ca 8166735: JarFile#getVersion spec clarification for unversioned jars
Reviewed-by: mchung, alanb
2016-11-08 12:36:21 -08:00
Paul Sandoz
060ce7c739 8165782: java.util.jar.JarFile.runtimeVersion() spec needs clarification
Reviewed-by: mchung, alanb
2016-11-08 12:36:13 -08:00
Stuart Marks
d55905fe1b 8156079: consider making empty instances singletons
8169222: minor immutable collections optimizations

Reviewed-by: forax, redestad, alanb
2016-11-04 14:29:34 -07:00
Paul Sandoz
530da2782a 8168841: The JavaDoc of java.util.stream.Collectors method collectingAndThen has incorrect code snippet
Reviewed-by: smarks, lancea, tvaleev
2016-11-01 17:29:49 -07:00
Xueming Shen
882dd28a12 8166261: Scanner.nextInt(int) (and similar methods) throws PatternSyntaxException
Reviewed-by: naoto
2016-10-31 10:34:31 -07:00
Masayoshi Okutsu
c0ee1b68c1 8152926: PropertyResourceBundle constructor don't understand the System.setProperty change
Reviewed-by: naoto, peytoia
2016-10-24 15:26:15 +09:00
Stuart Marks
6bdfb6eb48 8152617: add missing wildcards to Optional or() and flatMap()
Reviewed-by: psandoz, forax
2016-10-20 13:27:48 -07:00
Rachna Goel
8b7cc86473 8167992: Update documentation of java.util.Date class
Reviewed-by: okutsu, peytoia
2016-10-17 20:13:16 +09:00
Mandy Chung
44a7c1b644 8164689: Retrofit jar, jlink, jmod as a ToolProvider
Reviewed-by: alanb, lancea
2016-10-12 15:41:00 -07:00
Jonathan Bluett-Duncan
a19fc7fbdb 8134373: use collections convenience factories in the JDK
Reviewed-by: scolebourne, prappo, dfuchs, redestad, smarks
2016-10-12 11:54:38 -07:00
Paul Sandoz
2fc1b1389a 8167524: Rogue character in Stream javadoc
Reviewed-by: smarks, darcy
2016-10-11 16:25:52 -07:00
Paul Sandoz
bf450d55c1 8164814: Deprecate Atomic*.weakCompareAndSet and defer to Atomic*.weakCompareAndSetPlain
Reviewed-by: martin, dl
2016-10-10 15:58:42 -07:00
Jonathan Gibbons
0f9a011475 8159855: Create an SPI for tools
Reviewed-by: mchung
2016-10-07 16:49:31 -07:00
Claes Redestad
8ebdbe3b5c 8167005: Comment on the need for an empty constructor in ArrayList$Itr
Reviewed-by: smarks, shade, chegar
2016-10-06 02:02:48 +02:00
Rachna Goel
5e84d49af5 8166993: typo in java.util.Locale javadoc
Reviewed-by: okutsu, peytoia
2016-10-04 17:18:46 +09:00
Claes Redestad
2cee0a499a 8166840: Synthetic bridge constructor in ArrayList$Itr blocks inlining
Reviewed-by: vlivanov, mhaupt, forax
2016-09-28 14:27:34 +02:00
Doug Lea
c7cf1788ed 8165919: Miscellaneous changes imported from jsr166 CVS 2016-09-21
Reviewed-by: martin, chegar, shade
2016-09-23 13:24:33 -07:00
Doug Lea
9496149e05 8166465: CompletableFuture.minimalCompletionStage().toCompletableFuture() should be non-minimal
Reviewed-by: martin, chegar, shade
2016-09-23 13:14:14 -07:00
Nishit Jain
14d689c4a6 8165984: ResourceBundle lookup fields not completely thread-safe
Reviewed-by: okutsu, naoto
2016-09-18 23:09:37 +09:00
Steve Drach
375fe9b50c 8163798: Create a JarFile versionedStream method
Reviewed-by: mchung, psandoz, redestad
2016-09-13 13:55:35 -07:00
Doug Lea
60cd28abd7 8164169: Miscellaneous changes imported from jsr166 CVS 2016-09
Reviewed-by: martin, psandoz, shade
2016-09-12 13:14:49 -07:00
Doug Lea
d7f3695a90 8164983: Improve CountedCompleter code samples; add corresponding tests
Reviewed-by: martin, psandoz, shade
2016-09-12 13:07:30 -07:00
Claes Redestad
2ac4d6a7d3 8165723: JarFile::isMultiRelease() method returns false when it should return true
Reviewed-by: alanb
2016-09-12 17:45:55 +02:00
Paul Sandoz
a7dd7b59da 8164691: Stream specification clarifications for iterate and collect
Reviewed-by: briangoetz, smarks, tvaleev
2016-09-09 14:54:29 -07:00
Stuart Marks
97fa8cd04e 8159404: throw UnsupportedOperationException unconditionally for mutator methods
Reviewed-by: martin, psandoz
2016-09-06 16:08:54 -07:00
Ivan Gerasimov
164b17df5b 8165243: Base64.Encoder.wrap(os).write(byte[],int,int) with incorrect arguments should not produce output
Reviewed-by: rriggs, alanb, sherman
2016-09-03 13:43:01 +03:00
Paul Sandoz
3bd5ebe2ef 8162108: Rename weakCompareAndSetVolatile to weakCompareAndSet
Reviewed-by: martin
2016-09-01 13:56:13 -07:00
Paul Sandoz
c073edc24c 8162106: Remove VarHandle.addAndGet
Reviewed-by: shade, redestad
2016-09-01 10:17:01 -07:00
Doug Lea
4c999ed180 8163353: NPE in ConcurrentHashMap.removeAll()
Reviewed-by: martin, psandoz, redestad, alanb
2016-08-24 12:50:37 -07:00