379 Commits

Author SHA1 Message Date
Nishit Jain
0cb3d46cd7 8193444: SimpleDateFormat throws ArrayIndexOutOfBoundsException when format contains long sequences of unicode characters
Reviewed-by: naoto, rriggs
2018-07-13 14:04:59 +05:30
Brent Christian
c7a1b6431d 8207005: Disable the file canonicalization cache by default
Reviewed-by: alanb, bpb
2018-07-11 14:32:42 -07:00
Doug Lea
85daddd4cf 8205620: Miscellaneous changes imported from jsr166 CVS 2018-07
Reviewed-by: martin, psandoz
2018-07-10 10:24:08 -07:00
Doug Lea
fce671f409 8206123: ArrayDeque created with default constructor can only hold 15 elements
Reviewed-by: martin, psandoz, igerasim
2018-07-10 10:24:08 -07:00
Xueming Shen
84234d1abb 8206389: JarEntry.setCreation/LastAccessTime without setLastModifiedTime causes Invalid CEN header
Reviewed-by: alanb, martin
2018-07-09 13:08:30 -07:00
Vivek Theeyarath
ac99e1d447 8177275: IllegalArgumentException when MH would have too many parameters is not specified for several methods
Updated spec and added tests

Reviewed-by: psandoz
2018-07-02 23:33:40 -07:00
Smita Kamath
3feaefd75f 8205528: Base64 encoding algorithm using AVX512 instructions
Reviewed-by: kvn, psandoz
2018-06-27 20:21:42 -07:00
Daniel Fuchs
ed19b48e71 8205397: InetAddress has wrong declaration for readObjectNoData
Reviewed-by: alanb, rriggs
2018-06-27 20:19:59 +01:00
Joe Wang
e5ac84c7b0 8205058: (fs) Files read/writeString should throw CharacterCodingException instead of IOException with an IllegalArgumentException as cause
Reviewed-by: sherman, alanb, lancea
2018-06-27 09:31:51 -07:00
Roger Riggs
4098f2560a 8066709: Make some JDK system properties read only
Reviewed-by: lancea, sundar, bchristi, weijun, mchung, alanb, mullan
2018-06-27 09:36:34 -04:00
Stuart Marks
aaf546777f 8203670: unmodifiable List iterator() implementations should not be ListIterators
Reviewed-by: redestad, igerasim, plevart
2018-06-26 19:45:59 -07:00
Weijun Wang
60ff77bd97 8201815: Use Mozilla Public Suffix List
Reviewed-by: michaelm, erikj, ihse
2018-06-26 18:55:48 +08:00
Alan Bateman
807c4ae4a3 8205612: (fc) Files.readAllBytes fails with ClosedByInterruptException when interrupt status set
Reviewed-by: bpb
2018-06-26 08:13:02 +01:00
Martin Buchholz
7eeafb719f 8205184: Delegating Iterator implementations that don't delegate forEachRemaining()
Co-authored-by: Tobias Thierer <tobiast@google.com>
Reviewed-by: psandoz
2018-06-25 18:01:42 -07:00
Paul Sandoz
14651d9e02 8195650: Method references to VarHandle accessors
Reviewed-by: jrose
2018-06-25 14:39:44 -07:00
Patrick Reinhart
f44956330d 8204930: Reader:nullReader() spec does not match the behavior
Reviewed-by: bpb, rriggs
2018-06-25 14:36:16 -07:00
Doug Lea
0a0a8a5791 8203681: Miscellaneous changes imported from jsr166 CVS 2018-06
Reviewed-by: martin, psandoz
2018-06-25 09:59:16 -07:00
Doug Lea
3afeb2cb48 8203864: Execution error in Java's Timsort
Reviewed-by: martin, psandoz, forax
2018-06-25 09:59:16 -07:00
Doug Lea
abffccb329 8202422: value of 'sizeCtl' in ConcurrentHashMap varies with the constructor called
Reviewed-by: martin, psandoz
2018-06-25 09:59:16 -07:00
Peter Levart
a9912bb300 8205540: test/hotspot/jtreg/vmTestbase/nsk/jdb/trace/trace001/trace001.java fails with Debuggee did not exit after 15 <cont> commands
Screen usage/initialization of TerminatingThreadLocal with a non-null check on Thread.threadLocals field

Reviewed-by: dholmes, alanb
2018-06-24 10:41:51 +02:00
Alan Bateman
afd6c107a5 Merge 2018-06-23 09:46:18 +01:00
Alan Bateman
7523687071 8197532: Re-examine policy for the default set of modules when compiling or running code on the class path
Reviewed-by: jlahoda, mchung
2018-06-23 08:03:52 +01:00
Vivek Deshpande
a8a82bb0ba 8205194: Improve the Array Comparison when there is mismatch at first element
Perform the first element comparison before the call to vectorizedMismatch method

Reviewed-by: psandoz, rriggs, igerasim
2018-06-22 12:51:49 -07:00
Paul Sandoz
54e53458c6 8202922: Method reference identity is broken by serialization
Reviewed-by: jlaskey, mchung
2018-06-22 12:05:36 -07:00
Michael McMahon
1d79d38007 8204233: Add configurable option for enhanced socket IOException messages
Reviewed-by: alanb, chegar
2018-06-22 18:10:20 +01:00
Peter Levart
6ec2cfcc49 8202788: Explicitly reclaim cached thread-local direct buffers at thread exit
Add internal TerminatingThreadLocal and use it to free cached thread-local direct buffers and nio-fs native buffers

Reviewed-by: tonyp, alanb
2018-06-22 17:56:55 +02:00
Michael Skells
df509b1b16 8199124: (fs) Reduce allocation for file system methods that are invoked with no open options
Reviewed-by: alanb
2018-06-21 11:10:55 -07:00
Stuart Marks
277b35da28 8203184: List.copyOf() fails to copy sublists
Reviewed-by: psandoz
2018-06-21 08:45:57 -07:00
Stuart Marks
693a6dd27a 8060192: Add default method <A> A[] Collection.toArray(IntFunction<A[]> generator)
Reviewed-by: martin, forax, psandoz, briangoetz
2018-06-21 08:25:03 -07:00
Claes Redestad
edd5002b4e 8199435: Unsafe publication of java.util.Properties.map
Reviewed-by: dholmes, psandoz, plevart, bchristi
2018-06-20 17:06:24 +02:00
Toshio Nakamura
a8506cb4e1 8042131: DateTimeFormatterBuilder Mapped-values do not work for JapaneseDate
Reviewed-by: rriggs, scolebourne
2018-06-19 08:19:54 -07:00
Lois Foltan
425e1a8bb8 8202605: Standardize on ClassLoaderData::loader_name() throughout the VM to obtain a class loader's name
Introduced ClassLoaderData::name() and ClassLoaderData::name_and_id() for use when obtaining a class loader's name.

Reviewed-by: coleenp, goetz, mchung, stuefe
2018-06-19 07:54:11 -04:00
Paul Sandoz
72a9d65a2c 8170159: Improve the performance of BitSet traversal
Reviewed-by: martin
2018-06-18 10:13:58 -07:00
David Holmes
95bf19563b 8010319: Implementation of JEP 181: Nest-Based Access Control
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Maurizio Mimadamore <maurizio.mimadamore@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Tobias Hartmann <tobias.hartmann@oracle.com>
Co-authored-by: Vlaidmir Ivanov <vladimir.x.ivanov@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Daniel Smith <daniel.smith@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Kumar Srinivasan <kumardotsrinivasan@gmail.com>
Co-authored-by: Boris Ulasevich <boris.ulasevich@bell-sw.com>
Reviewed-by: alanb, psandoz, mchung, coleenp, acorn, mcimadamore, forax, jlahoda, sspitsyn, abuckley
2018-06-23 01:32:41 -04:00
Henry Jen
b026102163 8199871: Deprecate pack200 and unpack200 tools
Reviewed-by: mchung, psandoz, abuckley
2018-06-15 17:34:01 -07:00
Alan Bateman
db61a602f6 8199433: (se) select(Consumer<SelectionKey> action) as alternative to selected-key set
Reviewed-by: bpb
2018-06-16 10:10:54 +01:00
Vivek Theeyarath
df2f01daf1 8202216: Add Buffer mismatch methods
Reviewed-by: plevart, psandoz
2018-06-14 23:09:11 -07:00
Joe Darcy
01faebf8eb 8205003: Replace selected link tags with linkplain in java.lang.Class
Reviewed-by: bpb, mchung, lancea
2018-06-14 09:31:59 -07:00
Jim Laskey
02db4b67cc 8204172: Predicate::not should explicitly mention "NullPointerException - if target is null"
Reviewed-by: sundar, psandoz, dfuchs
2018-06-14 09:38:31 -03:00
Joe Wang
ca487166f4 8201276: (fs) Add methods to Files for reading/writing a string from/to a file
Reviewed-by: rriggs, smarks, sherman, forax, alanb, mli
2018-06-13 12:50:45 -07:00
Brent Christian
ea01772a00 8204565: (spec) Document java.{vm.}?specification.version system properties' relation to $FEATURE
Reviewed-by: mchung
2018-06-12 14:08:24 -07:00
Stuart Marks
4ad2957dd0 8204243: remove Thread.destroy() and Thread.stop(Throwable)
Reviewed-by: dholmes, alanb, sspitsyn, iris
2018-06-12 13:24:37 -07:00
Naoto Sato
ec4b6a477f 8202088: Japanese new era implementation
Reviewed-by: scolebourne, rriggs, nishjain, weijun
2017-08-09 14:54:37 -07:00
Doug Lea
307f2c4550 8204375: Add TimeUnit#convert(Duration)
Reviewed-by: martin, scolebourne, plevart, rriggs
2018-06-08 11:38:40 -07:00
Xueming Shen
f56c0b79d8 8204229: Formatter and String.format ignore the width with the percent modifier (%5%)
Reviewed-by: jlaskey
2018-06-08 10:09:40 -07:00
Martin Buchholz
acdef788f0 8204377: Rename Object#wait parameter name from "timeout" to "timeoutMillis"
Reviewed-by: dholmes, scolebourne, alanb, rriggs
2018-06-08 09:37:52 -07:00
Martin Buchholz
170d8a7fae 8204444: java.time cleanup
Reviewed-by: scolebourne, rriggs
2018-06-08 09:36:10 -07:00
Xueming Shen
a78fe0a073 8203839: API clarification: versioned jar entry verification in multi-release jar file
Reviewed-by: darcy, psandoz, alanb, weijun
2018-06-07 13:24:49 -07:00
Brian Burkhalter
e9f3b0e527 8201407: Files.move throws DirectoryNonEmptyException when moving directory across file system
Reviewed-by: alanb
2018-06-07 07:43:29 -07:00
Alan Bateman
2466623e45 6350055: (se) SelectionKey.interestOps variants to atomically update interest ops
Co-authored-by: David M Lloyd <david.lloyd@redhat.com>
Reviewed-by: bpb
2018-06-07 09:18:39 +01:00