Daniel Fuchs
9b5f69fa24
8074032: Instant.ofEpochMilli(millis).toEpochMilli() can throw arithmetic overflow in toEpochMilli()
...
Instant.toEpochMilli() now takes into account the sign of the 'seconds' field.
Reviewed-by: rriggs, scolebourne
2015-03-02 14:46:10 +01:00
Christian Tornqvist
b520218d57
Merge
2015-03-02 05:32:14 -08:00
Claes Redestad
c8e99e3610
8073497: Lazy conversion of ZipEntry time
...
Reviewed-by: sherman, plevart
2015-02-28 13:17:13 +01:00
Brian Burkhalter
03088bb6e6
8071599: (so) Socket adapter sendUrgentData throws IllegalBlockingMode when channel configured non-blocking
...
Remove restriction to blocking case
Reviewed-by: alanb, chegar
2015-02-27 14:36:03 -08:00
Vladimir Ivanov
284a867adc
8073644: Assertion in LambdaFormEditor.bindArgumentType is too strict
...
Reviewed-by: psandoz
2015-02-27 18:03:21 +03:00
Paul Sandoz
95b2455d16
8071600: Add a flat-mapping collector
...
Reviewed-by: smarks, chegar, briangoetz
2015-02-27 09:58:25 +01:00
Lev Priima
ff45a0b5b0
8073354: TimSortStackSize2.java: test cleanup: make test run with single argument
...
Reviewed-by: dholmes
2015-02-26 18:50:02 -05:00
Xueming Shen
7f950ef63d
8073924: Update test/java/nio/charset/Charset/NIOCharsetAvailability.java to work with module system
...
To use module's runtime filesystem to iterate the class files
Reviewed-by: alanb
2015-02-26 14:40:43 -08:00
Sean Coffey
79240eab9b
8071447: IBM1166 Locale Request for Kazakh characters
...
Reviewed-by: sherman
2015-02-26 09:36:30 +00:00
Daniel Fuchs
fc084beb84
8072645: java.util.logging should use java.time to get more precise time stamps
...
J.u.logging uses j.t.Instant to store LogRecord time stamps. XMLFormatter format is updated to allow for a new optional <nanos> element containing a nano second adjustment. SimpleFormatter passes a ZonedDateTime object to String.format. LogRecord getMillis/setMillis are deprecated, replaced by getInstant/setInstant.
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: scolebourne, plevart, rriggs
2015-02-25 18:41:07 +01:00
Joel Borggrén-Franck
cdf8c27ddb
8014678: Spurious AccessControlException thrown in java.lang.Class.getEnclosingMethod()
...
Reviewed-by: ahgross, mchung, psandoz
2015-02-25 14:30:02 +01:00
Sean Coffey
6d78b91ac9
7178362: Socket impls should ignore unsupported proxy types rather than throwing
...
Reviewed-by: chegar
2015-02-25 11:44:53 +00:00
Serguei Spitsyn
a3c0889315
8046246: the constantPoolCacheOopDesc::adjust_method_entries() used in RedefineClasses does not scale
...
Add new test java/lang/instrument/ManyMethodsBenchmarkAgent.java
Reviewed-by: coleenp, dcubed
2015-02-25 01:02:04 -08:00
Daniel Fuchs
2390a77789
8073394: Clock.systemUTC() should return a constant
...
Clock.systemUTC() now returns SystemClock.UTC
Reviewed-by: scolebourne, rriggs, plevart, lancea
2015-02-24 21:51:45 +01:00
Jeremy Manson
d1225ad485
6588467: Add isDaemon() and getPriority() to ThreadInfo
...
Reviewed-by: mchung, sla, dholmes, martin
2015-02-24 09:46:29 +01:00
Phil Race
9ec44e8c16
Merge
2015-02-23 10:47:32 -08:00
Chris Hegarty
b7d0702188
8064924: Update java.net.URL to work with modules
...
Reviewed-by: alanb, plevart, psandoz
2015-02-23 15:48:20 +00:00
Claes Redestad
16989e7b17
8068790: ZipEntry/JarEntry.setCreation/LastAccessTime(null) don't throw NPE as specified
...
Reviewed-by: coffeys, sherman
2015-02-21 13:46:24 +01:00
Aleksey Shipilev
e0e6ce31fd
8073479: Replace obj.getClass hacks with Objects.requireNonNull
...
Reviewed-by: dfuchs, plevart, vlivanov
2015-02-20 18:32:10 +03:00
Mandy Chung
db4c181844
8072656: test/java/lang/reflect/Proxy/ClassRestrictions.java assumes app class loader be URLClassLoader
...
Reviewed-by: lancea, alanb
2015-02-18 18:14:41 -08:00
Alejandro Murillo
a68e87751a
Merge
2015-02-18 09:14:48 -08:00
David Dehaven
d747007634
Merge
2015-02-17 11:50:06 -08:00
David Dehaven
c627fa5807
Merge
2015-02-17 11:44:51 -08:00
Staffan Larsen
f9c63b42ed
8025636: Hide lambda proxy frames in stacktraces
...
Reviewed-by: jrose, forax, jfranck, vlivanov
2015-02-17 10:09:26 +01:00
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
Xueming Shen
1eb1419d72
8073152: Update Standard/ExtendedCharsets to work with module system
...
To reorganize the standard and extendec charset configuration during build time
Reviewed-by: alanb
2015-02-16 14:53:59 -08:00
Sergey Bylokhov
18975e3676
8039269: images/cursors should not be in ${java.home}/lib
...
Reviewed-by: mchung, alanb, erikj
2015-02-16 20:01:17 +03:00
Alejandro Murillo
5621c4a866
Merge
2015-02-16 08:47:40 -08:00
Prasanta Sadhukhan
f4fa68a2a7
8072678: Wrong exception messages in java.awt.color.ICC_ColorSpace
...
Reviewed-by: prr, serb
2015-02-14 21:05:41 +03:00
Volker Simonis
137f134743
8072770: [TESTBUG] Some Introspector tests fail with a Java heap bigger than 4GB
...
Reviewed-by: serb
2015-02-13 19:14:44 +01: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
Brian Burkhalter
68ef8f6035
8068373: (prefs) FileSystemPreferences writes \0 to XML storage, causing loss of all preferences
...
Disallow entries whose key or value contains the null control character '\u0000' from being stored in the preferences node.
Reviewed-by: psandoz, rriggs
2015-02-12 12:56:48 -08: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
Jaroslav Bachorik
103110ad85
8069286: Unexpected count of notification in LowMemoryTest
...
Reviewed-by: mchung
2015-02-12 08:33:47 +01: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
David Dehaven
8737b37ffc
Merge
2015-02-09 09:52:48 -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
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
Dmitry Markov
5a65a2cc13
8064934: Incorrect Exception message from java.awt.Desktop.open()
...
Reviewed-by: azvegint, serb
2015-02-03 11:51:30 +04: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