1242 Commits

Author SHA1 Message Date
Doug Lea
0b431957a5 8210971: Add exception handling methods to CompletionStage and CompletableFuture
Reviewed-by: martin, chegar
2018-09-28 08:45:46 -07:00
Jaikiran Pai
e6c0c9dde7 7033681: Arrays.asList methods needs better documentation
Reviewed-by: smarks
2018-08-25 20:16:43 +05:30
Matthias Baesken
be56cc5bf3 8207768: Improve exception messages during manifest parsing of jar archives
Reviewed-by: clanger, mullan, weijun
2018-09-12 11:13:09 +02:00
Naoto Sato
ff3f48d69f 8210633: Cannot parse JapaneseDate string with DateTimeFormatterBuilder Mapped-values
Reviewed-by: scolebourne, rriggs
2018-09-25 13:57:24 -07:00
Tagir Valeev
7c9ab50d06 8205461: Create Collector which merges results of two other collectors
Reviewed-by: briangoetz, smarks, plevart
2018-09-25 14:23:37 +02:00
Alan Bateman
9c70e26c14 8210496: Improve filtering for classes with security sensitive fields
Reviewed-by: plevart, mchung
2018-09-19 08:49:07 +01:00
Brian Burkhalter
29a20e13c4 8210817: Minor typo in java.nio.file.attribute package summary
Reviewed-by: dfuchs, alanb
2018-09-18 13:18:54 -07:00
Mandy Chung
89efb9a78f 8210841: test/jdk/vm/runtime/ReflectStackOverflow.java fails with NoClassDefFoundError
Reviewed-by: dholmes, mikael
2018-09-17 22:56:31 -07:00
Mandy Chung
b72ab42e49 8210721: Replace legacy serial exception field with Throwable::cause
Reviewed-by: dfuchs, lancea
2018-09-17 15:22:46 -07:00
Ivan Gerasimov
27e26fbdd7 8210786: Typo s/overriden/overridden/ in several places
Reviewed-by: weijun
2018-09-15 22:02:08 -07:00
Ivan Gerasimov
a07102bc7f 8210787: Object.wait(long, int) throws inappropriate IllegalArgumentException
Reviewed-by: martin, rriggs
2018-09-15 13:53:43 -07:00
Roger Riggs
71b9664abb 8098798: Thread.join(ms) on Linux still affected by changes to the time-of-day clock
8210004: Thread.sleep(millis, nanos) timeout returns early

Reviewed-by: martin, igerasim
2018-09-14 12:53:07 -04:00
Brian Burkhalter
b16e5584ab 8210741: Typo in Java API documentation of java.nio.file.Paths
Reviewed-by: alanb, rriggs
2018-09-14 09:00:22 -07:00
Michael McMahon
b5fb6b3566 8210311: IllegalArgumentException in CookieManager - Comparison method violates its general contract
Reviewed-by: chegar, dfuchs
2018-09-13 12:07:01 +01:00
Jim Laskey
12dad310bb 8200434: String::align, String::indent
Reviewed-by: abuckley, smarks, sherman, rriggs, jrose, sundar, igerasim, briangoetz, darcy, jjg
2018-09-12 14:19:36 -03:00
Ivan Gerasimov
475d422094 8210347: Combine subsequent calls to Set.contains() and Set.add()
Reviewed-by: smarks, bpb
2018-09-11 14:51:45 -07:00
Sean Mullan
59d3b2ccfa 6899533: SecureClassLoader and URLClassLoader have unnecessary check for createClassLoader permission
Remove code that is no longer necessary now that pre-JDK 1.2 SecurityManager methods are not supported.

Reviewed-by: mchung
2018-09-07 08:02:51 -04:00
Ivan Gerasimov
1c9dfca05b 8210285: CharsetDecoder/Encoder's constructor does not reject NaN
Reviewed-by: sherman, smarks, alanb, martin, darcy
2018-09-06 12:10:59 -07:00
Naoto Sato
d1958eeed1 8210142: java.util.Calendar.clone() doesn't respect sharedZone flag
Reviewed-by: rriggs
2018-09-06 10:49:17 -07:00
Daniel Fuchs
595a45041b 8210366: Typo in MethodHandles.Lookup: must be either be
Reviewed-by: rriggs
2018-09-04 18:32:28 +01:00
Brian Burkhalter
ba1d068078 8210279: (bf) Remove unused package private method java.nio.Buffer.truncate()
Reviewed-by: alanb
2018-09-04 09:07:06 -07:00
Alan Bateman
81af5289e9 8210341: (fs) Typos in PosixFileAttributeView javadoc
Reviewed-by: dfuchs
2018-09-04 11:35:35 +01:00
Claes Redestad
5ddac96c10 8209837: Avoid initializing ExpiringCache during bootstrap
Reviewed-by: sundar, forax
2018-08-24 14:04:34 +02:00
Ivan Gerasimov
ffa4cfe355 8209171: Simplify Java implementation of Integer/Long.numberOfTrailingZeros()
Co-authored-by: Martin Buchholz <martinrb@google.com>
Reviewed-by: martin
2018-08-23 12:09:46 -07:00
Joe Wang
0afc1b41c3 8209576: java.nio.file.Files.writeString writes garbled UTF-16 instead of UTF-8
Reviewed-by: sherman
2018-08-20 10:11:26 -07:00
Claes Redestad
55cf3de09b 8209633: Avoid creating WeakEntry wrappers when looking up cached MethodType
Reviewed-by: plevart, mchung
2018-08-20 14:25:02 +02:00
Joe Darcy
07ed14c5cf 8209304: Deprecate serialVersionUID fields in interfaces
Reviewed-by: lancea, mullan, rriggs, smarks
2018-08-17 13:37:01 -07:00
Joe Darcy
07f3f674c2 5075463: (enum) Serialized Form javadoc for java.lang.Enum is misleading
Reviewed-by: lancea, rriggs, smarks
2018-08-15 10:44:56 -07:00
Joe Darcy
b0954bc7ab 8176425: Add radix indication in NumberFormatException message for Integer.decode
Reviewed-by: lancea
2018-08-15 10:16:15 -07:00
Claes Redestad
5c3008fbc4 8209120: Archive the Integer.IntegerCache
Reviewed-by: jiangli, alanb, plevart, iklam, mchung
2018-08-13 19:21:43 +02:00
Brent Christian
51d0a9e122 8205399: Set node color on pinned HashMap.TreeNode deletion
Reviewed-by: martin
2018-08-10 12:05:53 -07:00
Jiangli Zhou
a5d14313f5 8207263: Store the Configuration for system modules into CDS archive
Archive boot layer Configuration.

Reviewed-by: redestad, iklam, ccheung
2018-08-10 00:35:57 -04:00
Brian Burkhalter
52f2eca5d9 8193822: Remove unused newDirectByteBuffer and truncate methods from buffer classes
Reviewed-by: alanb, psandoz
2018-08-08 09:25:10 -07:00
Claes Redestad
db4913ba5a 8209003: Consolidate use of empty collections in java.lang.module
Reviewed-by: alanb, mchung
2018-08-07 23:08:52 +02:00
Paul Sandoz
70b706c224 8206955: MethodHandleProxies.asInterfaceInstance does not support default methods
Reviewed-by: mchung, plevart
2018-08-06 15:18:57 -07:00
Florian Weimer
cc248634a1 8208362: (bf) Long chains created by direct Buffer::slice
Reviewed-by: mr, psandoz, alanb
2018-08-06 14:55:04 -07:00
Joe Darcy
4bac00436d 8209024: Use SuppressWarnings on serialVersionUID fields in interfaces
Reviewed-by: bpb, rriggs, mullan
2018-08-06 14:29:22 -07:00
Nishit Jain
b2a6aa3e80 8208560: ChoiceFormat class has unused constants needs cleanup
Reviewed-by: rriggs, naoto
2018-08-01 18:02:25 +05:30
Nishit Jain
c1bbdfaa2c 8021322: [Fmt-Ch] Implementation of ChoiceFormat math methods should delegate to java.lang.Math methods
Reviewed-by: naoto, darcy
2018-07-27 14:20:07 +05:30
Phil Race
1387c87093 Merge 2018-07-26 10:00:40 -07:00
Jim Laskey
af89766e1e 8208164: (str) improve specification of String::lines
Reviewed-by: smarks
2018-07-26 10:25:33 -03:00
Valerie Peng
df08003471 8206171: Signature#getParameters for RSASSA-PSS throws ProviderException when not initialized
Changed SunRsaSign and SunMSCAPI provider to return null and updated javadoc

Reviewed-by: weijun, mullan
2018-07-23 23:18:19 +00:00
Ivan Gerasimov
ad816a0809 8207314: Unnecessary reallocation when constructing WeakHashMap from a large Map
Reviewed-by: martin
2018-07-23 22:07:55 -07:00
Joe Darcy
07cb147927 8208060: Additional corrections of serial-related declarations
Reviewed-by: rriggs, lancea
2018-07-20 14:46:43 -07:00
Phil Race
28e828130d Merge 2018-07-19 10:17:22 -07:00
Joe Darcy
269286da50 8207816: Align declaration of SerializedLambda.readResolve with serialization conventions
Reviewed-by: briangoetz
2018-07-19 09:20:08 -07:00
Joe Darcy
e85841f34b 8207751: Remove misleading serialVersionUID from JulienFields.Field
Reviewed-by: lancea
2018-07-18 08:27:53 -07:00
Roger Riggs
7d4da87a14 8189717: Too much documentation of ProcessBuilder.start copied to ProcessBuilder.startPipeline
Reviewed-by: bpb, lancea
2018-07-18 09:46:03 -04:00
Alex Buckley
85f79b0dab 8207393: ServiceLoader class description improvements
Reviewed-by: alanb, lancea
2018-07-18 07:39:54 +01:00
Martin Buchholz
796a53f6e5 8206863: A closed JarVerifier.VerifierStream should throw IOException
Co-authored-by: Tobias Thierer <tobiast@google.com>
Reviewed-by: rasbold
2018-07-17 17:36:27 -07:00