444 Commits

Author SHA1 Message Date
Xueming Shen
4f4a2385c5 8211880: Broken links in java.util.jar
Reviewed-by: alanb, mchung, martin
2018-10-09 12:36:51 -07:00
Claes Redestad
02a3be9920 8211859: Avoid initializing AtomicBoolean from RandomAccessFile
Reviewed-by: alanb
2018-10-09 14:30:06 +02:00
Alan Bateman
cb3fe46b95 8211825: ModuleLayer.defineModulesWithXXX does not setup delegation when module reads automatic module
Reviewed-by: mchung
2018-10-09 07:06:32 +01:00
Xueming Shen
859d376494 8211728: JarFile::versionedStream() does not filter META-INF resources in versioned stream
Reviewed-by: alanb
2018-10-08 14:14:52 -07:00
Claes Redestad
d5d74f0e26 8211860: Avoid reading security properties eagerly on Manifest class initialization
Reviewed-by: mullan, alanb
2018-10-08 18:16:03 +02:00
Jaikiran Pai
4cd9401815 8211765: JarFile constructor throws undocumented exception
Reviewed-by: lancea, sherman, alanb, chegar
2018-10-07 14:35:00 -04:00
Naoto Sato
271e3be381 8211398: Square character support for the Japanese new era
Reviewed-by: rriggs
2018-10-04 14:12:34 -07:00
Mandy Chung
46f0fa8c20 8206240: java.lang.Class.newInstance() is causing caller to leak
Reviewed-by: alanb
2018-10-04 13:02:58 -07:00
Mandy Chung
73a6313038 8181443: Replace usages of jdk.internal.misc.Unsafe with MethodHandles.Lookup.defineClass
Reviewed-by: alanb, egahlin
2018-10-04 08:45:21 -07:00
Pallavi Sonal
f5d19b9109 8166138: DateTimeFormatter.ISO_INSTANT should handle offsets
Reviewed-by: rriggs, scolebourne, naoto
2018-10-04 17:25:51 +05:30
Ivan Gerasimov
2ae27da3bc 8200381: Typos in javadoc - missing verb "be" and alike
Reviewed-by: lancea, darcy, wetmore
2018-10-02 10:19:07 -07:00
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