657 Commits

Author SHA1 Message Date
Coleen Phillimore
d0426d7d41 8150778: Reduce Throwable.getStackTrace() calls to the JVM
Replace JVM_GetStackTraceDepth and JVM_GetStackTraceElement, with JVM_GetStackTraceElements that gets all the elements in the StackTraceElement[]

Reviewed-by: dfuchs, mchung, shade, hseigel
2016-03-10 14:20:59 -05:00
Alejandro Murillo
dbc5e5d48d Merge 2016-03-05 20:46:44 -08:00
Jesper Wilhelmsson
ace4ef5700 Merge 2016-03-05 10:10:20 +01:00
Ramanand Patil
dae73946be 8087104: DateFormatSymbols triggers this.clone() in the constructor
Instead of using its own instance for caching and calling clone in DateFormatSymbols, a nested class SymbolsCacheEntry is introduced.

Reviewed-by: okutsu, peytoia
2016-03-02 23:28:59 +05:30
Steve Drach
da10efd829 8150679: closed/javax/crypto/CryptoPermission/CallerIdentification.sh fails after fix for JDK-8132734
Also fixes JDK-8150920

Reviewed-by: psandoz, redestad
2016-03-03 09:47:40 -08:00
Doug Lea
a9c908bcb3 8150417: Make ThreadLocalRandom more robust against static initialization cycles
Reviewed-by: martin, psandoz, dholmes, mhaupt
2016-03-03 10:39:34 -08:00
Vyom Tewari
96f1a8250d 8148609: socket impl supportedOptions() should return an immutable set
Reviewed-by: alanb, chegar
2016-03-03 17:21:08 +00:00
Chris Hegarty
d6208a2b4a 8150162: Move sun.misc.Version to a truly internal package
Reviewed-by: alanb, iris, mchung, rriggs
2016-03-03 12:07:13 +00:00
Tagir F. Valeev
c880124c81 8147505: BaseStream.onClose() should not allow registering new handlers after stream is consumed
Reviewed-by: psandoz
2016-03-03 10:06:25 +01:00
Tagir F. Valeev
90adb4174f 8072727: add variation of Stream.iterate() that's finite
Reviewed-by: psandoz, briangoetz
2016-03-03 10:06:16 +01:00
Mikael Vidstedt
2255be0267 8149596: Remove java.nio.Bits copy wrapper methods
Reviewed-by: bpb, chegar, psandoz
2016-03-02 13:21:20 -08:00
Michael Haupt
1619ac11c9 8150635: j.l.i.MethodHandles.loop(...) throws IndexOutOfBoundsException
Reviewed-by: psandoz
2016-03-02 20:16:11 +01:00
Chris Hegarty
645c21e16f 8150976: JarFile and MRJAR tests should use the JDK specific Version API
Reviewed-by: alanb, mchung
2016-03-02 16:25:29 +00:00
Michael Haupt
fc2641e57f 8150953: j.l.i.MethodHandles: example section in whileLoop(...) provides example for doWhileLoop
Reviewed-by: psandoz
2016-03-02 14:15:15 +01:00
Ivan Gerasimov
2c101cfb09 8149330: Capacity of StringBuilder should not get close to Integer.MAX_VALUE unless necessary
Reviewed-by: martin
2016-03-02 14:10:40 +03:00
Daniel Fuchs
a2f7bf924c 8150856: Inconsistent API documentation for @param caller in System.LoggerFinder.getLogger
@throws clause is correct; @param caller documentation fixed: caller must not be null.

Reviewed-by: martin
2016-03-01 12:05:14 +01:00
Jesper Wilhelmsson
633dd2bf9d Merge 2016-02-29 15:24:51 +01:00
Michael Haupt
2d20eec823 8150825: MethodHandles.tryFinally throws IndexOutOfBoundsException for non-conforming parameter lists
Reviewed-by: redestad
2016-02-29 14:16:20 +01:00
Tobias Hartmann
a09d434fda Merge 2016-02-29 09:02:14 +01:00
Cheleswer Sahu
b9e4cabc43 8130425: libjvm crash due to stack overflow in executables with 32k tbss/tdata
Reviewed-by: kevinw, dholmes
2016-02-26 16:19:04 +05:30
Michael McMahon
095027bd74 8087112: HTTP API and HTTP/1.1 implementation
Reviewed-by: alanb, chegar, coffeys, psandoz, rriggs
2016-02-25 23:14:22 +00:00
Aleksey Shipilev
ef5eb42e40 8150180: String.value contents should be trusted
Reviewed-by: vlivanov, redestad, jrose, twisti
2016-02-23 17:55:28 +03:00
Alejandro Murillo
d147a661d8 Merge 2016-02-18 15:19:41 -08:00
Jesper Wilhelmsson
a81de9e451 Merge 2016-02-18 18:07:47 +01:00
Aleksey Shipilev
6fe8f6f2f5 8149835: StringConcatFactory should emit classes with the same package as the host class
Reviewed-by: psandoz, alanb, mchung
2016-02-17 19:29:16 +03:00
Daniel D. Daugherty
4d0a1d0222 Merge 2016-02-16 12:09:11 -08:00
Doug Lea
eb6ab98ebc 8145485: Miscellaneous changes imported from jsr166 CVS 2016-02
Reviewed-by: martin, psandoz, chegar
2016-02-16 09:52:49 -08:00
Doug Lea
1e1ba84461 8139927: Improve documentation for CompletableFuture composition
8143089: CompletableFuture.whenComplete should use addSuppressed

Reviewed-by: martin, psandoz, chegar, plevart
2016-02-16 09:49:14 -08:00
Joe Darcy
a188f9045f 8149896: Remove unnecessary values in FloatConsts and DoubleConsts
Reviewed-by: shade, psandoz, lbourges, mduigou
2016-02-16 09:09:31 -08:00
Roger Riggs
e4e9015254 8148775: Spec for j.l.ProcessBuilder.Redirect.DISCARD need to be improved
Reviewed-by: martin
2016-02-16 11:36:20 -05:00
Xueming Shen
05ca3c971e 8135108: java/util/zip/TestLocalTime.java fails intermittently with Invalid value for NanoOfSecond
Reviewed-by: darcy
2016-02-15 18:41:23 -08:00
Steve Drach
4054254344 8132734: JDK 9 runtime changes to support multi-release jar files
JEP 238 Multi-Release JAR Files runtime support

Reviewed-by: alanb, psandoz, sherman
2016-02-15 17:47:53 -08:00
Alejandro Murillo
36d5ceb3eb Merge 2016-02-23 18:57:08 -08:00
Yingqi Lu
4dfed66526 6432031: Add support for SO_REUSEPORT
Reviewed-by: alanb, simonis, chegar
2016-02-23 17:41:00 +00:00
Michael Haupt
19a07cb7db 8143410: augment pseudo-code descriptions in MethodHandles API
Reviewed-by: psandoz
2016-02-23 09:49:04 +01:00
Nishit Jain
28d990ee6f 8074411: Describe "minor unit" and/or "default fraction digits" in Currency class' javadoc clearly
Reviewed-by: naoto, okutsu, peytoia
2016-02-23 17:09:46 +09:00
Michael Haupt
5baf4fccc4 8150360: augment/correct MethodHandle API documentation
Reviewed-by: psandoz
2016-02-23 07:17:54 +01:00
Shilpi Rastogi
165fa0078f 8144931: Assert class signatures are correct and refer to valid classes
Reviewed-by: vlivanov, psandoz, mhaupt
2016-02-22 09:02:14 +01:00
Doug Lea
2b446bf074 8150014: java/lang/invoke/LFCaching/LFMultiThreadCachingTest.java fails with NoClassDefFoundError
Reviewed-by: martin, psandoz, darcy, mhaupt, dholmes
2016-02-20 12:19:36 -08:00
Vladimir Ivanov
4458220d4a 8148994: Replacing MH::invokeBasic with a direct call breaks LF customization
Reviewed-by: jrose, redestad
2016-02-15 20:27:12 +03:00
Chris Hegarty
40965e0d6a 8134424: BlockDataInputStream.readUTFBody: size local StringBuffer with the given length
Reviewed-by: rriggs, shade
2016-02-15 14:25:21 +00:00
Chris Hegarty
7f68f6d847 8149656: Examine usages of sun.misc.LRUCache
Reviewed-by: redestad, rriggs
2016-02-15 10:14:39 +00:00
Chris Hegarty
8f6486a73b 8149653: Move sun.misc.InnocuousThread to jdk.internal.misc
Reviewed-by: mchung, rriggs
2016-02-15 10:13:21 +00:00
Xueming Shen
0072af1be6 7071819: To support Extended Grapheme Clusters in Regex
8147531: To add named character construct \N{...} to support Unicode name property

Reviewed-by: naoto, okutsu, plevart
2016-02-12 19:24:31 -08:00
Roger Riggs
b16bb1267a 8142539: Incorrect definition of ZoneOffset.MIN
8140211: Example in the Documentation is wrong for java.time.ZonedDateTime.minusHours
8139529: java.time.temporal.ChronoUnit.FOREVER typo

Reviewed-by: lancea, scolebourne
2016-02-11 11:19:03 -05:00
Mikael Vidstedt
7f395c26ab 8141491: Unaligned memory access in Bits.c
Introduce alignment-safe Copy::conjoint_swap and j.i.m.Unsafe.copySwapMemory

Reviewed-by: jrose, dholmes, psandoz
2016-02-10 15:20:41 -08:00
Aleksey Shipilev
7bee07b465 8149459: StringConcatFactory should be synced up with LambdaMetafactory
Reviewed-by: psandoz, vlivanov, forax
2016-02-10 16:36:25 +03:00
Shilpi Rastogi
ff97659a79 8071368: Use more concrete types for NamedFunction constants in the code
Reviewed-by: psandoz, vlivanov, mhaupt
2016-02-10 11:04:13 +01:00
Shilpi Rastogi
3e45966cd3 8138884: MethodHandles.Lookup.findVirtual() Javadoc fails to consider private interface methods
Reviewed-by: psandoz, mhaupt
2016-02-10 10:44:58 +01:00
Anthony Scarpino
719c597241 8098581: SecureRandom.nextBytes() hurts performance with small size requests
Reviewed-by: valeriep
2016-02-08 13:09:16 -08:00