Commit Graph

447 Commits

Author SHA1 Message Date
Paul Sandoz
27da77ce6b 8012987: Optimizations for Stream.limit/substream
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: mduigou
2013-06-28 10:29:21 +02:00
Henry Jen
411df5ec90 8009736: Comparator API cleanup
Reviewed-by: psandoz, briangoetz, mduigou, plevart
2013-06-11 13:41:38 -07:00
Naoto Sato
eb278c1a27 6609431: (rb) ResourceBundle.getString() returns incorrect value
Reviewed-by: okutsu, sherman
2013-06-27 14:40:21 -07:00
Chris Hegarty
b3e5539d06 8012647: Add Arrays.parallelPrefix (prefix sum, scan, cumulative sum)
Co-authored-by: Doug Lea <dl@cs.oswego.edu>
Co-authored-by: Tristan Yan <tristan.yan@oracle.com>
Reviewed-by: chegar, alanb, psandoz
2013-06-26 15:30:39 +01:00
Brian Burkhalter
9c0605b8e6 6469160: (fmt) general (%g) formatting of zero (0.0) with precision 0 or 1 throws ArrayOutOfBoundsException
For zero value ensure than an unpadded zero character is passed to Formatter.addZeros()

Reviewed-by: iris, darcy
2013-06-24 14:17:14 -07:00
Naoto Sato
feace4506d 6863624: java/util/Currency/PropertiesTest.sh writable check is incorrect
Reviewed-by: alanb
2013-06-21 13:42:55 -07:00
Mike Duigou
3377e0da57 8017088: Map/HashMap.compute() incorrect with key mapping to null value
Reviewed-by: dl, dholmes, plevart
2013-06-20 07:23:51 -07:00
Paul Sandoz
6cb8fc5c5f 8016455: Sync stream tests from lambda to tl
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: mduigou
2013-06-20 11:15:23 +02:00
Paul Sandoz
434bea45ac 8016308: Updates to j.u.stream.Node/Nodes
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: mduigou
2013-06-20 10:45:46 +02:00
Mike Duigou
4eeb7e8bc5 8016446: Improve forEach/replaceAll for Map, HashMap, Hashtable, IdentityHashMap, WeakHashMap, TreeMap, ConcurrentMap
Co-authored-by: Remi Forax <forax@univ-mlv.fr>
Reviewed-by: forax, mduigou, psandoz
2013-06-18 16:03:10 -07:00
Chris Hegarty
5864e2de68 Merge 2013-06-17 11:26:16 +01:00
Paul Sandoz
aed188663e 8016251: Balanced spliterator for SpinedBuffer
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: mduigou
2013-06-13 11:13:30 +02:00
Henry Jen
5a6e3cdfde 8016448: java/util/BitSet/BitSetStreamTest.java no longer compiles, missed by 8015895
Reviewed-by: mduigou
2013-06-12 14:07:14 -07:00
Naoto Sato
2ea5ec5419 8015960: java/util/Locale/LocaleProviders.java failing again on Windows
Reviewed-by: alanb
2013-06-11 11:18:02 -07:00
Alan Bateman
6788137f6f Merge 2013-06-11 14:09:06 +01:00
Martin Buchholz
fadbd21469 8016311: Update j.u.c. tests to avoid using Thread.stop(Throwable)
Reviewed-by: alanb
2013-06-11 11:25:59 +01:00
Paul Sandoz
ee67107591 8015895: Int/LongStream.range/rangeClosed
8012986: Right-bias range spliterators for large ranges

Reviewed-by: mduigou
2013-06-11 12:13:26 +02:00
Paul Sandoz
cde3ef7ba0 8015792: Rename Spliterators.spliteratorFromIterator to Spliterators.iterator
Reviewed-by: chegar
2013-06-10 12:26:20 +02:00
Paul Sandoz
350636532e 8015798: Rename IntStream.longs/doubles and LongStream.doubles to asXxxStream
Reviewed-by: alanb
2013-06-10 12:20:34 +02:00
Paul Sandoz
37d4e6871b 8015492: Remove DoubleStream.range methods
Reviewed-by: alanb
2013-06-10 11:52:32 +02:00
Paul Sandoz
f2224939ec 8013649: HashMap spliterator tryAdvance() encounters remaining elements after forEachRemaining()
Reviewed-by: chegar
2013-05-31 10:53:19 +02:00
Naoto Sato
a30cf6a6cc 8013903: Japanese calendar field names are not displayed with -Djava.locale.providers=HOST on Windows
Reviewed-by: okutsu
2013-06-04 10:33:13 -07:00
Paul Sandoz
06985bbc35 8015790: Remove duplicate spliterator tests
Reviewed-by: alanb, mduigou
2013-06-04 11:53:31 +02:00
Brent Christian
53a90d216f 8005698: Handle Frequent HashMap Collisions with Balanced Trees
HashMap bins with many collisions store entries in balanced trees

Reviewed-by: alanb, dl, mduigou
2013-06-04 10:04:28 +01:00
Lana Steuck
dd595d8f74 Merge 2013-06-03 16:09:43 -07:00
Eric McCorkle
a455b8ab9d 8014834: shell tests don't begin with #!/bin/sh
Some shell tests don't begin with the command interpreter line

Reviewed-by: alanb, ksrini
2013-06-03 10:44:10 -04:00
Paul Sandoz
c58c150867 8015008: Primitive iterator over empty sequence, null consumer: forEachRemaining methods do not throw NPE
Reviewed-by: chegar
2013-06-03 10:28:17 +02:00
David Katleman
320a9159a3 8015525: JDK8 b91 source with GPL header errors
Reviewed-by: dholmes, lancea
2013-05-29 10:16:07 -07:00
Lana Steuck
8f6d37ee8e Merge 2013-05-17 10:11:35 -07:00
Jim Gish
b0c93f4d19 8013380: Removal of stack walk to find resource bundle breaks Glassfish startup
Use caller's classloader to load resource as an alternative to thread context classloader and system classloader

Reviewed-by: mchung, alanb
2013-05-16 11:19:00 -04:00
Naoto Sato
41c159f597 8013233: java/util/Locale/LocaleProviders.sh fails
Reviewed-by: okutsu
2013-05-15 16:48:54 -07:00
Xueming Shen
bedabba81c 8014217: Base64.getXDecoder().wrap(...).read() doesn't throw exception for an incorrect number of padding chars in the final unit
To throw IOE for malformed final unit in base64 stream

Reviewed-by: chegar, alanb
2013-05-14 14:20:18 -07:00
Mandy Chung
24edc8dc91 8010727: WLS fails to add a logger with "" in its own LogManager subclass instance
Reviewed-by: alanb, jgish
2013-05-14 08:07:08 -07:00
Joe Darcy
b281decb0a 8014365: Restore Objects.requireNonNull(T, Supplier<String>)
Reviewed-by: mduigou
2013-05-13 22:16:55 -07:00
Ivan Gerasimov
171fdabebb 7021870: GzipInputStream closes underlying stream during reading
Reviewed-by: mduigou
2013-05-10 23:56:24 +04:00
David Katleman
1b186bfddd 8014289: JDK8 b89 source with GPL header errors
Reviewed-by: mchung, mduigou, tbell, dsamersoff
2013-05-09 15:04:56 -07:00
Paul Sandoz
b047746827 8012646: Pattern.splitAsStream
Co-authored-by: Ben Evans <benjamin.john.evans@gmail.com>
Reviewed-by: forax, plevart, alanb
2013-05-01 18:40:31 +02:00
Brian Goetz
15adfafa5b 8012664: Add tests for java.util.stream and lambda translation
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Mike Duigou <mike.duigou@oracle.com>
Co-authored-by: Robert Field <robert.field@oracle.com>
Co-authored-by: Jim Gish <jim.gish@oracle.com>
Reviewed-by: mduigou, briangoetz
2013-05-06 11:43:51 -04:00
Brandon Passanisi
aac9a477c2 4802647: Throw required NPEs from removeAll()/retainAll()
Reviewed-by: mduigou, chegar, dholmes
2013-05-07 12:05:52 -07:00
Naoto Sato
06036d34ef 8013086: NPE thrown by SimpleDateFormat with TimeZoneNameProvider supplied
Reviewed-by: okutsu
2013-05-07 11:31:08 -07:00
Xueming Shen
722199f9b2 8013252: Regex Matcher .start and .end should be accessible by group name
8013254: Constructor \w need update to add the support of \p{Join_Control}

Added the requested methods and updated the \w constructor

Reviewed-by: mchung, alanb
2013-05-06 21:24:37 -07:00
Akhil Arora
e41e09a670 8013150: Iterator.remove and forEachRemaining relationship not specified
Reviewed-by: mduigou
2013-05-06 20:54:48 -07:00
Mike Duigou
5001b55ff1 8013712: Add Objects.nonNull and Objects.isNull
Reviewed-by: mchung, darcy
2013-05-06 20:54:42 -07:00
Akhil Arora
e9d3d7b789 8012645: Stream methods on BitSet, Random, ThreadLocalRandom, ZipFile
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: mduigou, henryjen, alanb, martin, psandoz
2013-05-02 09:18:56 -07:00
Mark Sheppard
b09026494b 8007799: Base64.getEncoder(0, byte[]) returns an encoder that unexpectedly inserts line separators
Reviewed-by: sherman, iris
2013-04-30 16:24:08 +01:00
Brian Goetz
8d5c8613fc 8012650: Arrays streams methods
8011918: java.util.stream.Streams

Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Reviewed-by: alanb, mduigou, darcy, henryjen
2013-04-20 18:53:26 -04:00
Xueming Shen
115e610026 8007395: StringIndexOutofBoundsException in Match.find() when input String contains surrogate UTF-16 characters
Updated GroupCurly.match0() to backtrack correctly

Reviewed-by: mchung
2013-04-26 13:59:10 -07:00
Jim Gish
4c7d3a9bd1 5015163: (str) String merge/join that is the inverse of String.split()
7172553: A utility class that forms the basis of a String.join() operation

Integrate StringJoiner changes from lambda

Reviewed-by: alanb, mduigou
2013-04-02 18:41:04 -04:00
Lana Steuck
843e6e05e2 Merge 2013-04-23 15:07:48 -07:00
Naoto Sato
79174472a1 8010666: Implement Currency/LocaleNameProvider in Windows Host LocaleProviderAdapter
Reviewed-by: okutsu
2013-04-22 13:37:07 -07:00