353 Commits

Author SHA1 Message Date
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
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
Xueming Shen
bb4b387398 8204494: Fix for 8200530 triggered regression, closed/test/jdk/security/infra/java/security/KeyStore/BouncyCastleInterop.java failed
Reviewed-by: rriggs
2018-06-06 14:36:48 -07:00
Alan Bateman
79ed34634b 8203937: Not possible to read data from socket after write detects connection reset
Reviewed-by: chegar
2018-06-06 12:17:01 +01:00
Xueming Shen
fcfd1c85dd 8200530: '\r' is not supported as "newline" in java.util.jar.Manifest
Reviewed-by: jlaskey
2018-06-05 10:03:46 -07:00
Michal Vala
a30144440e 8190417: javadoc updates to java.util.regex.Matcher
Reviewed-by: lancea, alanb, dholmes
2018-06-01 12:28:19 -04:00
Claes Redestad
f4b24c3473 8204194: Lazily create MethodHandleImpl$AsVarargsCollector.asCollectorCache
Reviewed-by: psandoz
2018-06-01 11:34:13 +02:00
Vivek Theeyarath
5103e3b4a3 8177276: MethodHandles.insertArguments doesn't specify IllegalArgumentException on index mismatch
Correct MethodHandles.insertArguments spec

Reviewed-by: psandoz, mchung, ntv
2018-05-25 22:56:00 -07:00
Rachna Goel
f001238086 8203474: Update description of "Cyrillic Supplementary" block name in Character.UnicodeBlock class
Updated description of cyrillic supplementary block.

Reviewed-by: naoto
2018-05-31 15:11:57 +05:30
Jim Laskey
e18f24a98e 8050818: Predicate::not - provide an easier way to negate a predicate
Reviewed-by: chegar, dl, psandoz, forax, smarks, redestad
2018-05-30 12:40:04 -03:00
Claes Redestad
b67da0de17 8203886: Invoke LambdaMetafactory::altMetafactory exactly from the BootstrapMethodInvoker
Reviewed-by: mchung
2018-05-30 14:46:28 +02:00
Martin Buchholz
e85e0f5daf 8203327: Small cleanups in java.lang.ref
Reviewed-by: mr
2018-05-29 19:15:49 -07:00
Kim Barrett
6c20824cda 8203028: Simplify reference processing in light of JDK-8175797
Removed special handling of Reference.next

Reviewed-by: tschatzl, sjohanss, mchung
2018-05-26 03:11:50 -04:00
Roger Riggs
474a1253bb 8203368: ObjectInputStream filterCheck method throws NullPointerException
Reviewed-by: bpb, smarks
2018-05-25 13:29:25 -04:00
Martin Buchholz
42f7e3f69e 8203328: Rename EFS in java.util.zip internals to something meaningful
Reviewed-by: sherman
2018-05-23 10:34:18 -07:00
Xueming Shen
e1bffce5a3 8200172: String.split non-positive term incorrect use
Reviewed-by: darcy, lancea
2018-05-23 08:49:00 -07:00
Doug Lea
96814f7a28 8201386: Miscellaneous changes imported from jsr166 CVS 2018-05
Reviewed-by: martin, psandoz
2018-05-22 21:50:45 -07:00
Doug Lea
e4046542ba 8202685: Optimize ArrayList subList replaceAll
Reviewed-by: martin, psandoz, igerasim, redestad, dholmes, smarks, jrose, plevart
2018-05-22 21:46:51 -07:00
Jim Laskey
60de3c902e 8200380: String::lines
Reviewed-by: sundar, sherman, rriggs, psandoz
2018-05-22 12:04:05 -03:00
Claes Redestad
55ba3cad8b 8203352: Improve java implementation of Integer/Long.numberOfLeadingZeros
Co-authored-by: Ivan Gerasimov <ivan.gerasimov@oracle.com>
Reviewed-by: martin, igerasim
2018-05-22 14:44:18 +02:00
Valerie Peng
9e8d9fe1ee 8146293: Add support for RSASSA-PSS Signature algorithm
Add RSASSA-PSS key and signature support to SunRsaSign provider

Reviewed-by: wetmore
2018-05-21 23:40:52 +00:00
Ivan Gerasimov
ee601ac627 8203279: Faster rounding up to nearest power of two
Reviewed-by: martin, redestad
2018-05-21 12:49:03 -07:00
Jim Laskey
a455811dca 8200436: String::isBlank
Reviewed-by: sundar
2018-05-18 08:43:49 -03:00
Claes Redestad
cff257a87b 8196340: (coll) Examine overriding inherited methods in ArrayList and ArrayList.SubList
Reviewed-by: martin, forax, igerasim
2018-05-16 18:03:20 +02:00
Jim Laskey
7906014509 8200377: String::strip, String::stripLeading, String::stripTrailing
Reviewed-by: sundar, rriggs
2018-05-14 09:40:48 -03:00
Goetz Lindenmaier
b72846bc20 8202745: Remove hyphens from "out-of-bounds"
Reviewed-by: rriggs, dholmes
2018-05-07 23:07:01 +02:00
Mandy Chung
0e1bd1f99d 8202113: Reflection API is causing caller classes to leak
Reviewed-by: alanb, plevart
2018-05-11 14:21:46 -07:00
Joe Darcy
f899fb1841 8202563: BigInteger/BigDecimal not immune to overflow, contrary to spec
Reviewed-by: martin, bpb
2018-05-08 17:58:14 -07:00