288 Commits

Author SHA1 Message Date
Aleksey Shipilev
e0e6ce31fd 8073479: Replace obj.getClass hacks with Objects.requireNonNull
Reviewed-by: dfuchs, plevart, vlivanov
2015-02-20 18:32:10 +03:00
Alejandro Murillo
a68e87751a Merge 2015-02-18 09:14:48 -08:00
Brian Burkhalter
3004d4881c 8073347: javadoc of Formattable messed up by JDK-8019857
Change sample code formatting to the currently blessed idiom.

Reviewed-by: martin
2015-02-17 12:02:38 -08:00
David Dehaven
c627fa5807 Merge 2015-02-17 11:44:51 -08:00
Jason Uh
f7f4ab9df6 8042967: Add variant of DSA Signature algorithms that do not ASN.1 encode the signature bytes
Reviewed-by: mullan
2015-02-17 10:48:24 -08:00
Brian Burkhalter
2b1139db7c 8073207: javadoc typos in java.nio.channels.Pipe
Correct the verbiage as suggested.

Reviewed-by: alanb
2015-02-17 09:18:27 -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
Alejandro Murillo
5621c4a866 Merge 2015-02-16 08:47:40 -08:00
Mark Sheppard
c717b07bc5 8068682: Deprivilege/move java.corba to the ext class loader
Reviewed-by: alanb, mchung
2015-02-16 00:10:42 +00: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
Paul Sandoz
736e4a1146 8068975: Remove deprecated methods on sun.misc.Unsafe and clean up native implementation
Reviewed-by: dholmes, kvn, vlivanov
2015-02-10 14:10:32 +01: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
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
Rob McKenna
4c95aedcd9 8065553: Failed Java web start via IPv6 (Java7u71 or later)
Reviewed-by: xuelei
2015-02-10 23:32:48 +00: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
Florian Weimer
5c35079895 8069072: GHASH performance improvement
Eliminate allocations and vectorize

Reviewed-by: mullan, ascarpino
2015-02-09 13:32:42 -08:00
Xueming Shen
81f4c6102a 8030179: java/nio/Buffer/Chars.java, testcases seems all pass but jtreg/testng failed with java.lang.AssertionError
Fix the surrogate corner case in SingleByte charset encoder

Reviewed-by: psandoz, alanb
2015-02-09 11:37:56 -08:00
David Dehaven
8737b37ffc Merge 2015-02-09 09:52:48 -08:00
Mandy Chung
c8528fd410 8057645: Deprivilege JAX-WS, JAXB, JAF to extension class loader
Reviewed-by: alanb, dfuchs, lancea, mkos
2015-02-06 15:42:07 -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
Staffan Larsen
80a1d2bba8 8072456: @since tags missing from TimeUnit
Reviewed-by: alanb, martin
2015-02-05 12:59:01 +01:00
Aleksei Efimov
61473e39ce 8072042: (tz) Support tzdata2015a
Reviewed-by: coffeys, okutsu
2015-02-05 14:48:57 +03: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
Kumar Srinivasan
bb5e8afcf2 8068033: JNI exception pending in jdk/src/share/bin/java.c
Reviewed-by: mchung, serb
2015-02-03 09:49:27 -08: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