1155 Commits

Author SHA1 Message Date
Paul Sandoz
4485394e3d 8149469: ByteBuffer API and implementation enhancements for VarHandles
Reviewed-by: chegar, alanb
2016-03-24 11:21:18 +01:00
Zoltan Majo
2954d94462 Merge 2016-03-21 11:21:08 +01:00
Guy Delamarter
38f31bbade 8144693: Intrinsify StringCoding.hasNegatives() on SPARC
Implemented C2 instrinsic for StringCode.hasNegatives() on SPARC.

Reviewed-by: kvn, jrose, thartmann
2016-03-21 08:42:00 +01:00
Brian Burkhalter
9a55e05cfb 8152043: (fs) Remove dynamic loopup of Win32 API functions in WindowsNativeDispatcher needed to support Windows XP and Server 2003
Remove dynamic lookup of Win32 functions which was required to support Windows XP and Windows Server 2003.

Reviewed-by: alanb
2016-03-17 08:47:46 -07:00
Roger Riggs
829d62738c 8085887: java.time.format.FormatStyle.LONG or FULL causes unchecked exception
8076528: LocalTime.format() throws exception when FormatStyle is LONG or FULL

Reviewed-by: sherman, scolebourne
2016-03-16 13:16:14 -04:00
Kumar Srinivasan
27c0bb6266 8151858: update ASM 5.1 to accept V53.0 classfiles
Reviewed-by: forax, sundar
2016-03-15 06:53:45 -07:00
Alejandro Murillo
608a566d08 Merge 2016-03-10 16:08:20 -08:00
Mandy Chung
28ad968682 8151660: Revert NativeBuffer.java to use jdk.internal.ref.Cleaner
Reviewed-by: rriggs
2016-03-10 11:52:54 -08:00
Sergey Ustimenko
f36012af70 8043329: Wrong variable used in java.util.Collections javadoc code
Reviewed-by: lancea, rriggs
2016-03-10 09:35:59 -05:00
Peter Levart
020a27b202 8149925: We don't need jdk.internal.ref.Cleaner any more - part1
1st part of removing legacy jdk.internal.ref.Cleaner

Reviewed-by: chegar, mchung
2016-03-09 21:17:06 +01:00
Alejandro Murillo
7abd206441 Merge 2016-03-08 19:03:30 -08:00
Chris Hegarty
bd69ca08d2 8151384: Improve String.CASE_INSENSITIVE_ORDER and remove sun.misc.ASCIICaseInsensitiveComparator
Reviewed-by: shade, sherman
2016-03-08 12:11:07 +00:00
Joe Darcy
3fb108bd73 8151393: Revert changes for JDK-8087104
Reviewed-by: alanb
2016-03-07 12:10:55 -08:00
Zoltan Majo
aebd92df2c Merge 2016-03-07 09:34:30 +01: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
Xue-Lei Andrew Fan
3c244740c6 8148108: Disable Diffie-Hellman keys less than 1024 bits
Reviewed-by: vinnie, mullan
2016-03-04 14:04:01 +00:00
Aleksey Shipilev
f6ca30aea5 8150465: Unsafe methods to produce uninitialized arrays
Reviewed-by: jrose, kvn, psandoz, aph, twisti, flar
2016-03-03 23:57:07 +03:00
Mikael Vidstedt
a42172d65b 8149159: Clean up Unsafe
Reviewed-by: jrose, kvn, stsmirno, chegar, aph, psandoz, redestad, twisti
2016-03-03 09:12:05 -08:00
Rachel Protacio
29383473b1 8145098: JNI GetVersion should return JNI_VERSION_9
Updated JNI_VERSION for current version to be JNI_VERSION_9

Reviewed-by: hseigel, gtriantafill, dholmes, alanb
2016-03-02 14:52:35 -05: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
b053911474 8150521: SharedSecrets.getJavaNetInetAddressAccess should ensure that InetAddress is initialised
Reviewed-by: alanb, chegar
2016-03-03 17:27:35 +00: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
622963bd4d 8151140: Replace use of lambda/method ref in jdk.Version constructor
Reviewed-by: psandoz
2016-03-03 12:07:45 +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
Kumar Srinivasan
99bfb14042 8147755: ASM should create correct constant tag for invokestatic on handle point to interface static method
Updates asm to v5.1

Reviewed-by: forax
2016-03-01 12:33:04 -08:00
Hamlin Li
569de7b0ea 8151785: Doc typo in src/../java/util/stream/PipelineHelper.java
Change from "intoWrapped" to "copyInto".

Reviewed-by: rriggs
2016-03-15 12:38:35 +08:00
Alejandro Murillo
58fcd079ce Merge 2016-03-14 14:28:53 -07:00
Abhijit Roy
c6a6f496a8 8151062: Unclosed parenthesis in java.util.EnumMap.clone() Javadoc
Reviewed-by: rriggs
2016-03-12 00:58:39 +05:30
Michael Haupt
bfb7e8cd07 8150782: findClass / accessClass throw unexpected exceptions
Reviewed-by: sundar
2016-03-13 20:26:29 +01:00
Brian Burkhalter
f876e4bbd2 8151691: [Findbugs]jdk.internal.math.FormattedFloatingDecimal.getExponent() may expose internal rep
The reference to the internal array is never leaked via the public API but some internal API clarification is added.

Reviewed-by: rriggs
2016-03-11 14:07:03 -08:00
Jamil Nimeh
59eca614db 8132942: ServerHandshaker should not throw SSLHandshakeException when CertificateStatus constructor is called with invalid arguments
Performs argument checking on inputs to the CertificateStatus constructor in order to eliminate the need for exception processing.  Also pulls stapling processing logic out to its own method.

Reviewed-by: xuelei
2016-03-11 10:54:42 -08:00
Abhijit Roy
2fc3f9915c 8151063: Typo in java.lang.invoke.StringConcatFactory javadoc
Reviewed-by: prappo, rriggs
2016-03-11 12:53:10 -05: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
Jamil Nimeh
572b48bca5 8145854: SSLContextImpl.statusResponseManager should be generated if required
Implement server-side lazy initialization of StatusResponseManagers in the SSLContextImpl class.

Reviewed-by: xuelei
2016-02-25 16:10:15 -08:00
Steve Drach
e2181b48a5 8151339: Adding fragment to JAR URLs breaks ant
Reviewed-by: alanb
2016-03-07 19:37:10 +00:00
Sean Mullan
ed0eef5c6b Merge 2016-03-07 10:11:59 -05:00