299 Commits

Author SHA1 Message Date
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
Chris Hegarty
60fdd0dceb 8067105: Socket returned by ServerSocket.accept() is inherited by child process on Windows
Reviewed-by: alanb, igerasim
2015-01-29 20:45:30 +00: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
David Dehaven
8a1e007ca8 Merge 2015-01-28 08:14:18 -08:00
Alejandro Murillo
9c766e26d8 Merge 2015-01-27 10:11:23 -08:00
David Dehaven
ce3df66ec2 Merge 2015-01-27 09:32:45 -08: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
Alejandro Murillo
7f85449292 Merge 2015-01-26 17:00:39 -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
Roger Riggs
aa6b19f38e 8071481: (Process) Merge UNIXProcess.java into ProcessImpl.java
Simplify source files for Unix Process implementation

Reviewed-by: plevart, chegar
2015-01-26 10:55:27 -05:00
Chris Hegarty
9e40bd4ad1 8071424: JCK test api/java_net/Socket/descriptions.html#Bind crashes on Windows
Reviewed-by: alanb
2015-01-26 13:46:08 +00:00
Erik Joelsson
4f8c2c5896 8055190: Cleanup include and exclude of core-libs native libraries after source code restructure
Reviewed-by: alanb
2015-01-26 10:24:25 +01:00
Amy Lu
1059b1665d 8069262: Doclint regression in java.nio.channels.Channels
Reviewed-by: darcy
2015-01-23 16:16:39 +00:00
Sean Coffey
0d7e8b7cf1 8065994: HTTP Tunnel connection to NTLM proxy reauthenticates instead of using keep-alive
Reviewed-by: chegar
2015-01-23 15:03:47 +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
Ivan Gerasimov
af3db6d31a 8067748: (process) Child is terminated when parent's console is closed [win]
Reviewed-by: alanb
2015-01-23 13:57:02 +03:00
Alejandro Murillo
8a5ab5328c Merge 2015-01-22 22:42:33 -08:00
Jamil Nimeh
3d738985d7 8044860: Vectors and fixed length fields should be verified for allowed sizes
Reviewed-by: xuelei
2015-01-22 20:19:42 -08: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
David Dehaven
de2c792b35 Merge 2015-01-21 12:00:07 -08:00
Yumin Qi
09a7d945d4 Merge 2015-01-18 11:50:10 -08: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
Erik Joelsson
1310f9142f 8042707: Source changes needed to build JDK 9 with Visual Studio 2013 (VS2013)
Reviewed-by: tbell, ihse
2015-01-15 16:52:10 +01:00
Paul Sandoz
083d9a2b61 8054494: Remove sun.misc.Unsafe.monitorEnter, monitorExit and tryMonitorEnter
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: dholmes, coleenp
2015-01-15 11:18:14 +01:00
Joe Darcy
1144804378 8068948: Update java.base module to use new try-with-resources statement
Reviewed-by: alanb, igerasim
2015-01-14 16:44:59 -08: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
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
Mark Sheppard
d2bbef8dc7 8068597: Add error code to to exception condition message resulting from GetAdaptersAddresses function calls
Added error code to exception message thrown after a GetAdaptersAddresses call.

Reviewed-by: chegar
2015-01-08 20:00:14 +00:00
Sean Coffey
c20d40c269 8068507: (fc) Rename the new jdk.net.enableFastFileTransfer system property to jdk.nio.enableFastFileTransfer
Reviewed-by: alanb
2015-01-08 11:44:10 +00: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
Jamil Nimeh
c491b1ac4e 8058912: Broken link (access denied error) to http://www.rsasecurity.com in RC5ParameterSpec
Reviewed-by: xuelei, mullan
2015-01-07 09:32:41 -08: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
Jason Uh
3793acecce 8059916: Change default criticality of policy mappings and policy constraints certificate extensions
Reviewed-by: mullan
2015-01-13 14:33:54 -08:00