1283 Commits

Author SHA1 Message Date
Mandy Chung
500a73cdb1 8140450: Implement JEP 259: Stack-Walking API
Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Hamlin Li <huaming.li@oracle.com>
Reviewed-by: coleenp, dfuchs, bchristi, psandoz, sspitsyn
2015-11-23 12:44:50 -08:00
Xueming Shen
f9fa8afa11 8143553: StringBuffer.getByte(byte[], int, byte) should be package private (not protected)
Reviewed-by: thartmann
2015-11-23 10:36:15 -08:00
Phil Race
d1c0c842fb Merge 2015-11-23 10:00:50 -08:00
Nils Eliasson
affbf9c6bd Merge 2015-11-23 11:07:36 +01:00
Daniel Fuchs
bd8942b7a1 8140364: JEP 264 Platform Logger API and Service Implementation
Initial implementation for JEP 264 Platform Logger API and Service

Reviewed-by: mchung, psandoz, rriggs
2015-11-20 19:26:16 +01:00
Michael Haupt
5b2c88e28a 8139885: implement JEP 274: enhanced method handles
Reviewed-by: jrose, psandoz, vlivanov
2015-11-20 15:34:12 +01:00
Weijun Wang
a7d92d59f9 8056174: New APIs for jar signing
Reviewed-by: mullan
2015-11-20 08:34:04 +08:00
Iris Clark
b1b246fa7b Merge 2015-11-19 14:00:49 -08:00
Xueming Shen
969487d380 8143330: Two implementation methods of AbstractStringBuilder are mistakenly declared as "protected" in JDK9b93
Reviewed-by: darcy, alanb
2015-11-19 12:57:59 -08:00
Claes Redestad
e9b75962b3 8143232: Fix java.lang.invoke bootstrap when specifying COMPILE_THRESHOLD
Reviewed-by: vlivanov
2015-11-18 17:39:40 +01:00
Phil Race
5f60908938 Merge 2015-11-17 13:09:16 -08:00
Nadeesh TV
31f7efd560 8071919: Add java.time.Clock.tickMillis(ZoneId zone) method
Reviewed-by: dfuchs, rriggs, scolebourne
2015-11-17 11:06:46 -05:00
Nadeesh TV
b6d29b4f0b 8072746: LocalDate.isEra() should return IsoEra not Era
Reviewed-by: rriggs, scolebourne
2015-11-17 10:44:22 -05:00
Claes Redestad
42e4e0c06f 8143142: AssertionError in MethodHandleImpl
Reviewed-by: psandoz, vlivanov
2015-11-17 15:29:21 +01:00
Paul Sandoz
e3111f5d49 8142493: Utility methods to check indexes and ranges doesn't specify behavior when function produces null
Reviewed-by: lancea, rriggs, mchung
2015-11-17 14:11:46 +01:00
Paul Sandoz
c16c0e61c9 8141409: Arrays.equals accepting a Comparator
Reviewed-by: rriggs
2015-11-17 14:11:42 +01:00
Claes Redestad
5b5c2d0925 8142487: Cleanup sun.invoke.util.Wrapper zeroes to be both reliable and lazy
Reviewed-by: vlivanov, jrose
2015-11-17 12:43:09 +01:00
Claes Redestad
30545d614d 8142334: Improve lazy initialization of java.lang.invoke
Reviewed-by: psandoz, vlivanov, mhaupt
2015-11-17 11:51:45 +01:00
Iris Clark
6568d3457b Merge 2015-11-16 17:10:20 -08:00
Roger Riggs
9322c398b5 8133079: java.time LocalDate and LocalTime ofInstant() factory methods
Reviewed-by: rriggs, scolebourne
2015-11-16 15:28:55 -05:00
Nils Eliasson
5f1eb58771 Merge 2015-11-16 20:37:22 +01:00
Doug Lea
81c502660b 8029574: TreeMap: optimization of method computeRedLevel()
Reviewed-by: martin, shade
2015-11-16 10:14:46 -08:00
Roland Westrelin
694262c33b 8042997: Make intrinsic some or all check index/range methods
Objects.checkIndex() intrinsic

Reviewed-by: psandoz, shade
2015-11-16 10:18:18 +01:00
Roger Riggs
2714bdae50 8132394: (process) ProcessBuilder support for a pipeline of processes
Reviewed-by: psandoz, alanb
2015-11-13 15:48:59 -05:00
Roger Riggs
bb5de762da 8141571: jdk/internal/jimage/JImageReadTest.java crashing in msvcr120.dll
Add asserts to diagnose

Reviewed-by: jlaskey
2015-11-13 12:00:23 -05:00
Nadeesh TV
09c0550556 8054978: java.time.Duration.parse() fails for negative duration with 0 seconds and nanos
Reviewed-by: rriggs, scolebourne
2015-11-13 11:52:56 -05:00
Brian Burkhalter
e5a6f24f64 8032027: Add BigInteger square root methods
Add sqrt() and sqrtAndReminder() using Newton iteration

Reviewed-by: darcy, lowasser
2015-12-10 17:47:26 -08:00
Brian Burkhalter
30abf404b3 8139133: Changing the modification time on a unix domain socket file fails
If a file descriptor cannot be obtained, use utimes() instead of futimes().

Reviewed-by: alanb
2015-12-10 15:57:27 -08:00
Chris Hegarty
edabf4afb3 8145082: Remove sun.misc.Unsafe dependency from sun.nio.cs.StringUTF16
Reviewed-by: psandoz, sherman
2015-12-10 10:04:41 +00:00
Xue-Lei Andrew Fan
e03cf9daf6 8136410: AlgorithmDecomposer is not parsing padding correctly
Reviewed-by: weijun
2015-12-10 06:09:36 +00:00
Nadeesh TV
7d2c07c70d 8142936: Add java.time.Duration methods for days, hours, minutes, seconds, etc
Reviewed-by: rriggs, scolebourne
2015-12-09 15:27:21 -05:00
Rachna Goel
ee046050d6 8025547: Locale.toString() documentation error
Updated API doc of Locale.toString method.

Reviewed-by: okutsu
2015-12-09 14:20:51 +05:30
Claes Redestad
d37bb2422b 8143127: InvokerBytecodeGenerator emitConst should handle Byte, Short, Character
Reviewed-by: vlivanov, shade, forax
2015-12-09 18:25:36 +01:00
Rob McKenna
6af208a485 8143397: It looks like InetAddress.isReachable(timeout) works incorrectly
Reviewed-by: xuelei, msheppar
2015-12-09 15:16:00 +00:00
Xue-Lei Andrew Fan
30655cc742 8141651: Deadlock in sun.security.ssl.SSLSocketImpl
Reviewed-by: weijun
2015-12-09 10:36:33 +00:00
Stuart Marks
d42e70fc3c 8139232: JEP-269 initial API and skeleton implementations
Reviewed-by: psandoz, rriggs
2015-12-08 13:48:22 -08:00
Xueming Shen
b0e22f9603 8144958: changes by JDK-8142508 seems to have broken jtreg
Reviewed-by: darcy
2015-12-08 16:43:58 -08:00
Xueming Shen
44a8a73eb6 8142508: To bring j.u.z.ZipFile's native implementation to Java to remove the expensive jni cost and mmap crash risk
Reviewed-by: coffeys
2015-12-08 09:25:01 -08:00
Alan Bateman
11e31407a5 8144210: Runtime.currentRuntime should be final
Reviewed-by: dl, dholmes
2015-11-29 20:27:38 +00:00
Alexander Scherbatiy
a00e011325 8073320: Windows HiDPI Graphics support
Reviewed-by: flar, serb
2015-11-13 05:02:26 -08:00
Aleksey Shipilev
c7a7ba0e1e 8148483: JEP 280: Indify String Concatenation
Co-authored-by: Remi Forax <forax@univ-mlv.fr>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: psandoz, mcimadamore, igerasim, forax, plevart, vlivanov, ihse
2016-01-28 19:43:05 +03:00
Antonios Printezis
816a40ae00 8147468: Allow users to bound the size of buffers cached in the per-thread buffer caches
Introduces the jdk.nio.maxCachedBufferSize property.

Reviewed-by: alanb, bpb
2016-01-28 10:58:10 -05:00
Alan Bateman
c464136491 8148192: (fs) Path.register can fail with Bad file descriptor and other errors
Reviewed-by: chegar
2016-01-28 12:55:19 +00:00
Martin Buchholz
b9d758e600 8148174: NegativeArraySizeException in Vector.grow(int)
Improve management of internal array

Reviewed-by: smarks, forax
2016-01-25 16:07:00 -08:00
Claes Redestad
e9df200123 8147962: URL should handle lower-casing of protocol locale-independently
Reviewed-by: chegar, alanb, naoto
2016-01-27 13:51:35 +01:00
Brian Burkhalter
7b678f7571 8148121: Typo in API , FileOwnerAttributeView.getOwner() and FileOwnerAttributeView.setOwner()
"It it" -> "It is"

Reviewed-by: sherman
2016-01-26 15:30:42 -08:00
Sean Mullan
4591a2d447 Merge 2015-11-12 16:09:09 -05:00
Sean Mullan
02b5487b04 8072463: Remove requirement that AKID and SKID have to match when building certificate chain
Reviewed-by: xuelei
2015-11-12 16:07:14 -05:00
Roger Riggs
e15eefc7d7 8141652: Rename methods Objects.nonNullElse* to requireNonNullElse*
And some usages of replacing expr != null ? expr : otherexpr

Reviewed-by: jrose, chegar
2015-11-11 22:38:15 -05:00
Chris Hegarty
bdbc4d15df 8140606: Update library code to use internal Unsafe
Reviewed-by: alanb, mchung, psandoz, weijun
2015-11-11 09:19:12 +00:00