705 Commits

Author SHA1 Message Date
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
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
Ivan Gerasimov
f3c4924379 8073779: StackOverflowError called StackOverflowException in javadoc
Reviewed-by: martin
2015-02-24 19:50:17 +03:00
Jason Uh
9a2cc32b19 8072663: Remove the sun.security.acl package which is not used in the JDK
Reviewed-by: mullan, alanb, mchung
2015-02-23 11:40:48 -08:00
Chris Hegarty
f71f63f2f2 8073667: URL should not use service loader to lookup the jar protocol handler
Reviewed-by: alanb
2015-02-23 17:22:56 +00: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
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
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
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