1092 Commits

Author SHA1 Message Date
Lev Priima
a1d6f0cbcd 8073124: Tune test and document TimSort runs length stack size increase
Reviewed-by: dholmes
2015-02-16 19:16:50 -05:00
Alejandro Murillo
5621c4a866 Merge 2015-02-16 08:47:40 -08:00
Christian Tornqvist
700da67504 Merge 2015-02-13 05:17:57 -08:00
Paul Sandoz
a12ad15110 8069325: Pattern.splitAsStream does not return input if it is empty and there is no match
Reviewed-by: sherman
2015-02-13 11:13:30 +01:00
Paul Sandoz
4b2af9acf9 8071670: java.util.Optional: please add a way to specify if-else behavior
Reviewed-by: dfuchs, lowasser
2015-02-13 11:13:27 +01:00
Vladimir Ivanov
75a181784a Merge 2015-02-12 13:55:05 -08:00
Roger Riggs
5d4cdb23e5 8072034: (process) ProcessBuilder.start and Runtime.exec UnsupportedOperationException editorial cleanup
Reviewed-by: alanb
2015-02-12 12:06:36 -05:00
Jaroslav Bachorik
2c4a9ce20b 8072932: Test fails with java.security.AccessControlException: access denied ("java.security.SecurityPermission" "getDomainCombiner")
Reviewed-by: mullan
2015-02-12 17:01:10 +01:00
Lev Priima
892b06056c 8072909: TimSort fails with ArrayIndexOutOfBoundsException on worst case long arrays
Reviewed-by: rriggs, dholmes
2015-02-12 10:34:35 -05:00
Brian Burkhalter
14b8722c45 8066842: java.math.BigDecimal.divide(BigDecimal, RoundingMode) produces incorrect result
Replace divWord() with non-truncating alternatives

Reviewed-by: psandoz, darcy
2015-02-11 17:20:39 -08:00
Shaun Spiller
9807a1372d 8064562: (doc) errors in java.io.PushbackInputStream API documentation
Update the documentation as suggested to reflect reality.

Reviewed-by: lancea, rriggs
2015-02-11 07:40:43 -08:00
Joe Darcy
42d24e8ed5 8072843: Typo in the description of the j.l.r.Executable.getAnnotatedReceiverType
Reviewed-by: lancea
2015-02-10 11:34:13 -08:00
Paul Sandoz
7c67f47c4d 8050819: Please add java.util.Stream.ofNullable(T object)
Reviewed-by: alanb, smarks
2015-02-10 11:18:51 +01:00
Joe Darcy
127d4e1aec 8069277: Doclint regression in java/security/KeyStore.java
Reviewed-by: weijun
2015-02-09 17:49:26 -08:00
Joe Darcy
0d5c151c94 8041395: Doclint regression in java.net.SocketOption
Reviewed-by: lancea
2015-02-09 15:33:56 -08:00
Roger Riggs
8d8f34b9a6 8067800: Unexpected DateTimeException in the java.time.chrono.HijrahChronology.isLeapYear
Check the year range consistently with other Hijrah date years

Reviewed-by: lancea, scolebourne
2015-02-06 17:29:11 -05:00
Staffan Larsen
80a1d2bba8 8072456: @since tags missing from TimeUnit
Reviewed-by: alanb, martin
2015-02-05 12:59:01 +01:00
Mandy Chung
37a1a74efd 8069551: Move java.security.acl from compact3 to java.base
Reviewed-by: alanb, mullan, wetmore
2015-02-03 14:09:20 -08:00
Roger Riggs
ddb472a4dc 8068278: ArrayIndexOutOfBoundsException instead of DateTimeException in j.t.chrono.JapaneseChronology.eraOf()
Corrected era range check

Reviewed-by: mchung, lancea
2015-02-03 14:39:57 -05:00
Alejandro Murillo
004b407992 Merge 2015-02-03 08:45:07 -08:00
Paul Sandoz
dd21d2c4db 8050820: Please add java.util.Optional.stream() to convert Optional<T> to Stream<T>
Reviewed-by: alundblad, forax, chegar, jrose
2015-02-02 14:19:12 +01:00
Paul Sandoz
3b9021981f 8059324: orElseThrow has different signatures for OptionalPrimitive and Optional<T>
Reviewed-by: lancea, chegar
2015-02-02 14:19:00 +01:00
Paul Sandoz
8aae81b484 8048689: Clarify documentation on BaseStream.spliterator
Reviewed-by: lancea, chegar
2015-02-02 14:18:54 +01:00
Dean Long
8a65f6962b Merge 2015-01-31 02:42:15 -05:00
Alejandro Murillo
e9c6fa1317 Merge 2015-01-30 16:56:08 -08:00
Roger Riggs
24a3c49404 8068284: Missing @throws in DateTimeFormatterBuilder.appendOffset
8068285: Missing @throws in DateTimeFormatterBuilder.appendInstant
8062803: 'principal' should be 'principle' in java.time package description
8062796: java.time.format.DateTimeFormatter error in API doc example

Reviewed-by: lancea, mchung
2015-01-30 16:13:57 -05:00
Roger Riggs
0854df7b86 8055330: (process spec) ProcessBuilder.start and Runtime.exec should throw UnsupportedOperationException on platforms that don't support
Clarify optional behavior and the exception thrown when not supported

Reviewed-by: dfuchs, martin
2015-01-30 16:13:04 -05:00
Brian Burkhalter
2a8d5c46e1 6880737: (fs) FileLock constructors don't throw NPE if the channel argument is null
Throw IllegalArgumentException if the channel parameter is null

Reviewed-by: alanb
2015-01-30 12:56:12 -08:00
Brian Burkhalter
c2fe1ca470 8067669: Documentation for methods in Number incomplete regarding too large values
Remove statments about rounding and truncation from the *Valud() methods

Reviewed-by: rriggs, darcy, alundblad
2015-01-30 10:23:45 -08:00
Joe Darcy
51e2269c61 8071959: java.lang.Object uses implicit default constructor
Reviewed-by: lancea
2015-01-29 16:16:35 -08:00
Joe Darcy
0841b6a90e 8071434: doc updates for java.lang.Object
Reviewed-by: rriggs
2015-01-29 15:14:44 -08:00
Vladimir Ivanov
55d14bca62 8071788: BlockInliningWrapper.asType() is broken
Reviewed-by: jrose
2015-01-29 10:29:49 -08:00
Vladimir Ivanov
676ea83240 8071787: Don't block inlining when DONT_INLINE_THRESHOLD=0
Reviewed-by: jrose
2015-01-29 10:29:43 -08:00
Vladimir Ivanov
bfc5193fe7 8069591: Customize LambdaForms which are invoked using MH.invoke/invokeExact
Reviewed-by: jrose, plevart, forax
2015-01-29 10:27:30 -08:00
Vladimir Ivanov
06305c456b 8063137: Never-taken branches should be pruned when GWT LambdaForms are shared
Reviewed-by: jrose, kvn
2015-01-29 10:27:30 -08:00
Yumin Qi
3f9b8313e3 Merge 2015-01-29 03:54:45 +00:00
Daniel Fuchs
b5f5424c83 8068730: Increase the precision of the implementation of java.time.Clock.systemUTC()
Changes the implementation of java.time.Clock.systemUTC() to take advantage of the maximum resolution of the underlying native clock on which System.currentTimeMillis() is based.

Reviewed-by: dholmes, rriggs, scolebourne, sla
2015-01-28 17:48:59 +01:00
Brian Burkhalter
3e68a8af37 8069269: (spec) Defect in the System.nanoTime spec
Change the description of how to compare two nanoTime values.

Reviewed-by: martin
2015-01-26 17:16:57 -08:00
Paul Sandoz
d58ef60b88 8071477: Better Spliterator implementations for String.chars() and String.codePoints()
Reviewed-by: sherman
2015-01-26 17:26:49 +00:00
Paul Sandoz
318a438643 8032513: The Spliterator characteristics CONCURRENT and IMMUTABLE are mutually exclusive
Reviewed-by: chegar, lancea, dfuchs
2015-01-26 17:06:00 +00:00
Amy Lu
1059b1665d 8069262: Doclint regression in java.nio.channels.Channels
Reviewed-by: darcy
2015-01-23 16:16:39 +00:00
Konstantin Shefov
e70362baba 6933879: URISyntaxException when non-alphanumeric characters are present in scope_id
Reviewed-by: chegar
2015-01-23 15:42:06 +03:00
Peter Levart
eae923a8ae 8068427: Hashtable deserialization reconstitutes table with wrong capacity
Reviewed-by: mduigou, martin, chegar, dfuchs
2015-01-21 21:42:22 +01:00
Jaroslav Bachorik
b5ac4fe904 8064331: JavaSecurityAccess.doIntersectionPrivilege() drops the information about the domain combiner of the stack ACC
Reviewed-by: mullan
2015-01-16 18:19:23 +01:00
Lev Priima
7882032236 8067471: Use private static final char[0] for empty Strings
Reviewed-by: igerasim, redestad, shade
2015-01-14 21:35:52 +03:00
Claes Redestad
3a90ffa2ab 8068498: Remove constructor dependency on line.separator from PrintWriter and BufferedWriter
Reviewed-by: alanb, sherman
2015-01-06 06:49:52 +01:00
Chris Hegarty
06e81aae83 8068599: Add mutability, serializability, and thread-safety, caveat to all Collectors that do not accept a Collection supplier
Reviewed-by: psandoz
2015-01-13 17:14:51 +00:00
Brian Burkhalter
4417397e26 4026465: Provide more byte array constructors for BigInteger
Add two's complement and sign-magnitude constructors for byte arrays with offset and length.

Reviewed-by: darcy, alanb, scolebourne
2015-01-09 17:27:28 -08:00
Joe Darcy
d332437cae 6481080: (ann) @Deprecated annotation has no effect on packages
Reviewed-by: lancea, alanb, psandoz, abuckley
2015-01-08 10:06:45 -08:00
Brian Burkhalter
29fc16ebbe 8059175: Zero BigDecimal with negative scale prints leading zeroes in String.format
Correct erroneous appending of zeroes and clean up code logic.

Reviewed-by: darcy, psandoz
2015-01-07 14:15:00 -08:00