6932 Commits

Author SHA1 Message Date
Ivan Gerasimov
0c0e4775d4 8014066: Remove redundant restriction from ArrayList#removeRange() spec
Reviewed-by: chegar, dholmes, martin, mduigou
2014-03-26 15:58:37 +04:00
Rajan Halade
3092f76b6e 8037258: AIOB while parsing CRL for revoked certificate
Reviewed-by: mullan
2014-03-25 20:32:07 -04:00
Chris Hegarty
6f3216994c 8034181: SIGBUS in SctpChannelImpl receive
Reviewed-by: alanb, dsamersoff
2014-03-25 09:31:37 +00:00
Pavel Rappo
a9f20cb4c7 8038163: Build failure on Mac OS 10.9.2 (Mavericks) due to warning treated as error
Add parentheses to conditional expression to appease compiler.

Reviewed-by: sla, alanb
2014-03-24 14:35:32 -07:00
Stephen Colebourne
a25bcf0ac0 8033662: DateTimeFormatter parsing ignores withZone()
To include the set "zone" in resolved result

Reviewed-by: sherman, chegar
2014-03-24 12:47:02 -07:00
Paul Sandoz
0ba46cd40c 8037857: Methods j.u.Arrays.spliterator/stream(X[], int, int) throw IAE instead of specified AIOOBE when endIndex < startIndex
Reviewed-by: alanb
2014-03-24 17:07:08 +01:00
Alan Bateman
252aa24c76 8037945: Paths.get("").normalize() throws ArrayIndexOutOfBoundsException
Reviewed-by: chegar
2014-03-24 15:09:47 +00:00
Jaroslav Bachorik
676f82b33f 8037274: sun.tools.attach.WindowsVirtualMachine#createPipe() needs more descriptive message when pipe creation fails
Reviewed-by: alanb, dcubed, allwin
2014-03-24 13:16:25 +01:00
Staffan Larsen
5deaaa84e9 8037225: sun/tools/jinfo/Basic.sh fails
Reviewed-by: alanb
2014-03-21 14:45:54 +01:00
Staffan Larsen
966f3bc845 8037825: Fix warnings and enable "warnings as errors" in serviceability native libraries
Reviewed-by: alanb
2014-03-21 09:38:04 +01:00
Mark Sheppard
f60c942caa 8035870: Check jdk/src/windows/native/java/io/WinNTFileSystem_md.c for JNI pending exceptions
NI return checks, NULL return checks for malloc added

Reviewed-by: alanb, chegar
2014-03-21 00:57:23 +00:00
Mark Sheppard
4d1b400d2d 8036607: JNI exception pending in jdk/src/windows/native/java/net/DualStackPlainDatagramSocketImpl.c
Check for JNI pending exception and NULL returns from JNI calls in DualStackPlainDatagramSocketImpl.c

Reviewed-by: alanb
2014-03-21 00:13:40 +00:00
Mark Sheppard
299a78721f 8025293: JNI exception pending checks in java.net
Enhance the return check for JNI native calls, check for NULL and pending exceptions

Reviewed-by: alanb, chegar
2014-03-21 00:01:59 +00:00
Mark Sheppard
d278ecae87 8035340: (prefs) Check jdk/src/windows/native/java/util/WindowsPreference.c for JNI pending exceptions
Check for JNI pending exceptions. Add null checks after malloc calls

Reviewed-by: alanb, chegar
2014-03-20 23:34:38 +00:00
Mark Sheppard
e506d671fa 8035930: Check jdk/src/windows/native/java/io/io_util_md.c for JNI pending exceptions
Malloc null return checks and pending exception checks

Reviewed-by: alanb
2014-03-20 23:12:55 +00:00
Mark Sheppard
6e01e594da 8036600: JNI exception pending in src/jdk/src/windows/native/sun/net/www/protocol/http/ntlm/NTLMAuthSequence.c
Check JNI return values, check for pending exceptions, check malloc return value and raise OOME as needed

Reviewed-by: alanb
2014-03-20 22:57:39 +00:00
Lance Andersen
5163011f0e 8037507: Fix broken link in javax/sql/rowset/package.html
Reviewed-by: darcy
2014-03-20 18:18:11 -04:00
Mark Sheppard
3a73293102 8036601: JNI exception pending in jdk/src/windows/native/sun/net/dns/ResolverConfigurationImpl.c
Check JNI return values and pending exceptions, Check malloc returns, and throw OOME as appropriate

Reviewed-by: alanb
2014-03-20 21:27:22 +00:00
Mark Sheppard
86b7f002f4 8036609: Check jdk/src/windows/native/java/lang/ProcessImpl_md.c for JNI pending exceptions
Added ExceptionCheck fater JNI calls

Reviewed-by: chegar
2014-03-20 21:14:51 +00:00
Mark Sheppard
706fe7b1db 8036603: Check jdk/src/windows/native/java/lang/ProcessEnvironment_md.c for JNI pending exceptions
Added JNI call NULL return checks

Reviewed-by: alanb, mchung
2014-03-20 21:03:43 +00:00
Mark Sheppard
226c059658 8036134: Check src/windows/native/sun/nio/fs/WindowsNativeDispatcher.c for JNI pending exceptions
Check malloc return value and added JUN_ThrowOutOfMemoryException

Reviewed-by: alanb
2014-03-20 16:19:08 +00:00
Anthony Scarpino
fff6b1883a 7107611: sun.security.pkcs11.SessionManager is scalability blocker
Reviewed-by: valeriep
2014-03-19 11:48:06 -07:00
Kumar Srinivasan
8725d75174 8037529: [asm] add back @Suppress tags, removed by last bulk refresh
Reviewed-by: psandoz
2014-03-18 10:02:25 -07:00
Paul Sandoz
761e2c85b3 8037106: Optimize Arrays.asList(...).forEach
Reviewed-by: alanb, martin, mduigou, ulfzibis
2014-03-18 11:24:38 +01:00
Kumar Srinivasan
47e00453cc 8037221: [asm] refresh internal ASM version
Reviewed-by: psandoz, sundar
2014-03-14 08:44:39 -07:00
Weijun Wang
6a81209e6f 8037262: typo in error message in KrbAsReq.authenticate()
Reviewed-by: mullan, juh
2014-03-14 09:29:16 +08:00
Artem Smotrakov
727989dc5d 8028591: NegativeArraySizeException in sun.security.util.DerInputStream.getUnalignedBitString()
Reviewed-by: mullan, weijun
2014-03-13 15:13:22 +08:00
Ivan Gerasimov
106b5b9af8 7011804: SequenceInputStream with lots of empty substreams can cause StackOverflowError
Reviewed-by: chegar, alanb
2014-03-13 07:52:17 +04:00
Ivan Gerasimov
91eeeafb13 8036088: Replace strtok() with its safe equivalent strtok_s() in DefaultProxySelector.c
Reviewed-by: chegar
2014-03-13 07:24:12 +04:00
Daniel Fuchs
769affa9c4 8036916: Deprecation warnings in LogManager
Reviewed-by: mchung
2014-03-12 20:18:47 +01:00
Jason Uh
323843f397 8021804: Certpath validation fails if validity period of root cert does not include validity period of intermediate cert
Reviewed-by: mullan
2014-03-12 08:55:35 -07:00
Vladimir Ivanov
9d59eb2da1 8036117: MethodHandles.catchException doesn't handle VarargsCollector right (8034120 failed)
Reviewed-by: jrose, twisti
2014-03-11 19:54:33 +04:00
Weijun Wang
fd6995ab56 8036971: krb5.conf does not accept directive lines before the first section
Reviewed-by: xuelei
2014-03-11 07:56:49 +08:00
Anthony Scarpino
5fc831edf6 8036543: [parfait] JNI pending exceptions for j2secmod.c, j2secmod_md.c, and p11_md.c
Reviewed-by: valeriep
2014-03-10 12:05:43 -07:00
Brian Burkhalter
3f11b2ac96 8036848: Fix deprecation warning in sun.misc.CharacterDecoder
Replace use of deprecated method with its recommended successor.

Reviewed-by: mchung
2014-03-07 13:05:07 -08:00
Mandy Chung
0a2655f963 8035808: Eliminate dependency to GetPropertyAction and other sun.security.action convenient classes
Reviewed-by: alanb, chegar
2014-03-07 13:00:25 -08:00
Brian Burkhalter
7e0de8f634 8035279: Clean up internal deprecations in BigInteger
Rename pertinent private instance variables to describe what they actually represent.

Reviewed-by: psandoz, smarks
2014-03-07 12:40:37 -08:00
Phil Race
f20478bb72 Merge 2014-03-07 10:53:58 -08:00
Erik Joelsson
48039a1a54 8036611: Cleanup of handling of properties and other java resources in the build
Reviewed-by: tbell, ihse
2014-03-07 15:01:32 +01:00
Staffan Larsen
863c6daf9e 8034025: Remove JPLIS agent dependency on canonicalize_md.c
Reviewed-by: alanb
2014-03-07 09:18:15 +01:00
Joe Darcy
f666025b30 8036747: Fix unchecked lint warnings in java.security.Provider
Reviewed-by: xuelei
2014-03-05 22:32:14 -08:00
Joe Darcy
b679ef980a 8036744: Fix raw lint warnings in java.lang.reflect.WeakCache
Reviewed-by: lancea, mchung
2014-03-05 17:08:37 -08:00
Valerie Peng
03788eb2b7 8033571: [parfait] warning from b128 for security/smartcardio/pcsc_md.c: JNI exception pending
Fix pending exception errors found by parfait.

Reviewed-by: xuelei, ascarpino
2014-03-06 01:03:27 +00:00
Joe Darcy
63dbfed84f 8036732: Fix raw warning in java.lang.invoke.MethodHandleImpl.java
Reviewed-by: forax
2014-03-05 11:53:35 -08:00
Staffan Larsen
5a678f7c26 8036599: Use Diagnostic Commands instead of SA by default in jinfo
Reviewed-by: alanb
2014-03-05 20:03:32 +01:00
Staffan Larsen
61da35fe43 8036675: Compiler warnings in serviceability code
Reviewed-by: alanb, mgronlun
2014-03-05 15:43:18 +01:00
Frederic Parain
ee1b7412a0 8035952: Remove use of JVM_Open, JVM_Read and JVM_Close functions from serviceability code
Reviewed-by: chegar, mchung, alanb, sla
2014-03-05 10:52:33 +00:00
Joe Darcy
751adf9af1 8035452: Fix serial lint warnings in core libs
Reviewed-by: smarks
2014-03-04 18:32:27 -08:00
Joe Darcy
3889cebe94 8036568: Serial incompatibility in java.util.TreeMap.NavigableSubMap
Reviewed-by: smarks
2014-03-04 18:28:56 -08:00
Robert Field
2e148fb065 8035776: Consistent Lambda construction
Reviewed-by: ahgross, briangoetz, dlsmith
2014-03-04 15:33:30 -08:00