Commit Graph

2960 Commits

Author SHA1 Message Date
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
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
Johannes Scheerer
b856eeaa98 8072611: (process) ProcessBuilder redirecting output to file should work with long file names (win)
Reviewed-by: rriggs, simonis
2015-02-10 10:44:38 +01:00
Alejandro Murillo
805200fc3e Merge 2015-02-10 10:09:33 -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
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
Brian Burkhalter
980fb58833 8072495: (fs) Path.relativize() gives incorrect result for empty path on Windows
Correct handling of empty path in Windows version of relativize()

Reviewed-by: alanb, dfuchs
2015-02-06 08:05:44 -08:00
Alejandro Murillo
b49ef0ce12 Merge 2015-02-05 14:57:53 -08:00
Christian Tornqvist
f95f9bd5d1 Merge 2015-02-04 18:23:09 -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
c007f0f7d4 8072030: Race condition in ThenComposeExceptionTest.java
Reviewed-by: chegar
2015-02-02 14:21:32 +01: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
Alejandro Murillo
e9c6fa1317 Merge 2015-01-30 16:56:08 -08: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
Katja Kantserova
45a6ed8315 8068613: Wrong number of objects pending finalization start
Repeat until expected result, instead of fail after sleep()

Reviewed-by: sla
2015-01-30 09:31:18 +01:00
Jaroslav Bachorik
2989b5405d 8071641: java/lang/management/ThreadMXBean/SynchronizationStatistics.java intermittently failed with NPE
Reviewed-by: sjiang, dfuchs
2015-01-30 22:01:32 +01:00
Brent Christian
76ace03a9e 8068578: test/java/io/Serializable/subclassGC/SubclassGC.java assumes app class loader is a URLClassLoader
Reviewed-by: alanb
2015-01-29 14:49:15 -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
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
Yumin Qi
7feb08a6b4 Merge 2015-01-27 20:03:45 -08:00
Alejandro Murillo
9c766e26d8 Merge 2015-01-27 10:11:23 -08:00
Masayoshi Okutsu
f6262c1abc 8065178: test/java/util/ResourceBundle/Bug6287579.java needs update for per language package support
Reviewed-by: naoto, peytoia
2015-01-27 12:59:45 +09:00
Alejandro Murillo
7f85449292 Merge 2015-01-26 17:00:39 -08:00
Serguei Spitsyn
3de0140a88 8068162: jvmtiRedefineClasses.cpp: guarantee(false) failed: OLD and/or OBSOLETE method(s) found
Enable the test: java/lang/instrument/IsModifiableClassAgent.java

Reviewed-by: coleenp, dcubed
2015-01-26 15:46:47 -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
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
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
Alejandro Murillo
8a5ab5328c Merge 2015-01-22 22:42:33 -08:00
Jesper Wilhelmsson
ed183aea22 Merge 2015-01-22 12:26:25 +01: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
Michail Chernov
c15946fb1a 8067751: OOMEInReferenceHandler.java fails: Cleaner terminated abnormally
OOME with message "GC overhead limit exceeded". -XX:-UseGCOverheadLimit was added to avoid OOME in resource handler.

Reviewed-by: jmasa, jwilhelm
2015-01-20 13:29:26 -08:00
Yumin Qi
09a7d945d4 Merge 2015-01-18 11:50:10 -08:00
Alejandro Murillo
fd925c52da Merge 2015-01-15 19:23:49 -08:00
Chris Hegarty
00b2f7005d 8042581: Intermittent failure in java/net/DatagramSocket/InheritHandle.java
Reviewed-by: alanb, chegar
2015-01-15 17:05:06 +00:00
Michail Chernov
cd582fa380 8066122: CollectionUsageThreshold.java times out when run with -XX:+ExplicitGCInvokesConcurrent
CollectionUsageThreshold.java hangs due to VM performs concurrent GC with -XX:+ExplicitGCInvokesConcurrent flag, as result - notification is not received. Excluded test execution with -XX:+ExplicitGCInvokesConcurrent.

Reviewed-by: dfazunen, tschatzl
2015-01-15 19:16:17 +04: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
Jaroslav Bachorik
6a4272d45c 8062450: Timeout in LowMemoryTest.java
Reviewed-by: dholmes
2015-01-12 11:01:23 +01:00
Alejandro Murillo
c74ecba112 Merge 2015-01-08 17:11:49 -08: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
Alejandro Murillo
800c634a8a Merge 2015-01-13 08:58:07 -08:00
Vladimir Ivanov
3b573293b8 8067344: Adjust java/lang/invoke/LFCaching/LFGarbageCollectedTest.java for recent changes in java.lang.invoke
Reviewed-by: psandoz
2015-01-13 07:57:51 -08: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
Harold Seigel
16043e410a Merge 2014-12-27 13:27:07 -05:00
Alexander Kulyakthin
53664dc976 8068242: Quarantine the test IsModifiableClassAgent.java
Quarantine the test

Reviewed-by: hseigel, jbachorik, dsamersoff
2014-12-27 07:09:32 -08:00
Yumin Qi
c08e6d66cb Merge 2014-12-24 20:23:31 +00:00