7078 Commits

Author SHA1 Message Date
Michael McMahon
4c8411b088 8012625: Incorrect handling of HTTP/1.1 " Expect: 100-continue " in HttpURLConnection
Reviewed-by: alanb, chegar
2013-05-16 17:28:47 +01:00
Xue-Lei Andrew Fan
9681f58b21 8010814: More buffers are stored or returned without cloning
Reviewed-by: lancea
2013-05-16 04:30:45 -07:00
Eric Wang
9b4403735d 8004177: test/java/lang/Thread/GenerifyStackTraces.java doesn't clean-up
Reviewed-by: alanb, dholmes, chegar
2013-05-16 10:59:06 +01:00
Valerie Peng
f06239abab Merge 2013-05-15 18:38:52 -07:00
Naoto Sato
41c159f597 8013233: java/util/Locale/LocaleProviders.sh fails
Reviewed-by: okutsu
2013-05-15 16:48:54 -07:00
Joe Darcy
40a5f1f53c 8014677: Correct docs warning for Objects.requireNonNull(T, Supplier<String>)
Reviewed-by: alanb
2013-05-15 09:54:30 -07:00
Stephen Colebourne
48fc4f5552 8013730: JSR 310 DateTime API Updates III
Integration of JSR310 Date/Time API update III

Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Patrick Zhang <patrick.zhang@oracle.com>
Reviewed-by: naoto
2013-05-15 07:48:57 -07:00
Michael McMahon
527399b98c 8010464: Evolve java networking same origin policy
Reviewed-by: alanb, chegar, dsamersoff, weijun
2013-05-15 15:01:59 +01:00
David Holmes
4e4591b4da 8013395: StringBuffer.toString performance regression impacting embedded benchmarks
Cache a copy of the char[] to use with toString() and clear it when ever the sb content is modified

Reviewed-by: alanb, plevart, mduigou, forax
2013-05-15 00:36:03 -04:00
Xueming Shen
bedabba81c 8014217: Base64.getXDecoder().wrap(...).read() doesn't throw exception for an incorrect number of padding chars in the final unit
To throw IOE for malformed final unit in base64 stream

Reviewed-by: chegar, alanb
2013-05-14 14:20:18 -07:00
Xueming Shen
1e18db55d6 8012326: Deadlock occurs when Charset.availableCharsets() is called by several threads at the same time
Removed the race condition risk from  ExtendedCahrset access code

Reviewed-by: mchung, alanb
2013-05-14 14:09:18 -07:00
Kurchi Subhra Hazra
4e50454550 6328537: Improve javadocs for Socket class by adding references to SocketOptions
Insert references to SocketOptions.java where applicable

Reviewed-by: alanb, chegar
2013-05-14 12:01:38 -07:00
Andreas Rieber
5ed0727b83 8014519: scriptpad sample does not work with nashorn
Reviewed-by: attila, jlaskey
2013-05-14 22:36:52 +05:30
Alexey Utkin
41b7094a94 8012453: (process) Runtime.exec(String) fails if command contains spaces [win]
Reviewed-by: alanb
2013-05-14 20:16:21 +04:00
Alan Bateman
6288fc0c48 8014500: bootcycle-images fails after upgrade to JAXP 1.5
Reviewed-by: lancea
2013-05-14 14:32:15 +01:00
Joe Darcy
b281decb0a 8014365: Restore Objects.requireNonNull(T, Supplier<String>)
Reviewed-by: mduigou
2013-05-13 22:16:55 -07:00
Xueming Shen
288d98cbaa 8013386: (tz) Support tzdata2013c
Updated tz data to version 2013c

Reviewed-by: peytoia, okutsu
2013-05-13 20:35:36 -07:00
Valerie Peng
fe625d26a3 Merge 2013-05-13 16:52:33 -07:00
Kurchi Subhra Hazra
162500725a 8014254: Selector in HttpServer introduces a 1000 ms delay when using KeepAlive
Rearrange event-handling code to remove bottle-neck. Also reviewed by mhall@mhcomputing.net.

Reviewed-by: chegar, alanb
2013-05-13 13:48:58 -07:00
Mike Duigou
823dd51602 Merge 2013-05-13 13:15:20 -07:00
Bharadwaj Yadavalli
c5150dac16 8008687: MethodHandle code: allow static and invokespecial calls to interface methods
Changes to support invocation of lambda methods compiled either as static interface methods and or private instance methods.

Reviewed-by: jrose, twisti
2013-05-13 12:26:28 -07:00
Athijegannathan Sundararajan
53fafed923 8012975: Remove rhino from jdk8
Reviewed-by: alanb, tbell
2013-05-13 22:23:17 +05:30
Xue-Lei Andrew Fan
9d11c897d3 8005598: (reopened) Need to clone array of input/output parameters
Reviewed-by: weijun
2013-05-13 06:05:32 -07:00
Xue-Lei Andrew Fan
0abd396d42 8005535: SSLSessionImpl should have protected finalize()
Reviewed-by: weijun, wetmore
2013-05-13 05:41:51 -07:00
Ivan Gerasimov
171fdabebb 7021870: GzipInputStream closes underlying stream during reading
Reviewed-by: mduigou
2013-05-10 23:56:24 +04:00
Joe Darcy
b1127b3050 8014357: Minor refactorings to sun.reflect.generics.reflectiveObjects.*
Reviewed-by: mchung
2013-05-10 12:25:16 -07:00
Mike Duigou
d8751e2c7f Merge 2013-05-10 10:12:58 -07:00
Mike Duigou
386bb440ad 8014316: Use Method Refs in j.u.stream.MatchOps
Reviewed-by: dholmes
2013-05-10 09:51:14 -07:00
Roger Riggs
d5da33beea 8014296: DivModTests should not compare pointers
Reviewed-by: darcy
2013-05-10 09:06:21 -07:00
Joe Darcy
fdf90eaba2 8014249: Add Modifer.parameterModifiers()
Reviewed-by: mduigou, mchung
2013-05-10 08:53:38 -07:00
Alan Bateman
6622dd4edf 8011128: (fs) Files.createDirectory fails if the resolved path is exactly 248 characters long
Reviewed-by: khazra, chegar
2013-05-10 14:53:33 +01:00
Joel Borggrén-Franck
5d83fde0d1 8007073: Implement Core Reflection for Type Annotations on parameters
Reviewed-by: darcy, abuckley
2013-05-10 10:20:13 +02:00
Lana Steuck
dfc792a1b8 Merge 2013-05-09 14:23:49 -07:00
Lana Steuck
fe8944db98 Merge 2013-05-08 23:53:35 -07:00
Alan Bateman
c426179250 8013652: (profiles) Add javax.script to compact1
Reviewed-by: mchung, dholmes
2013-05-08 18:00:10 +01:00
Weijun Wang
0c02ab3a5e 8012679: Let allow_weak_crypto default to false
Reviewed-by: valeriep
2013-05-08 08:25:34 +08:00
Anthony Scarpino
2c0b00cbe0 8001284: Buffer problems with SunPKCS11-Solaris and CKM_AES_CTR
Changed output length calculation to include incomplete blocks for CTR mode.

Reviewed-by: valeriep
2013-05-07 14:13:53 -07:00
Valerie Peng
94c8fa5cb1 7196009: SunPkcs11 provider fails to parse config path containing parenthesis
Enhanced to allow quoted string as library path values.

Reviewed-by: weijun
2013-05-07 14:06:19 -07:00
Valerie Peng
3eaddd6868 8010134: A finalizer in sun.security.pkcs11.wrapper.PKCS11 perhaps should be protected
Change the finalize method of PKCS11 class to be protected.

Reviewed-by: xuelei
2013-05-07 14:04:53 -07:00
Kumar Srinivasan
0582038c10 8013736: [launcher] cleanup code for correctness
8005735: [parfait] False positive integer overflow in jdk/src/solaris/bin/jexec.c
8009873: [parfait] Memory leak at jdk/src/share/bin/wildcard.c
8005807: [parfait] Undefined return value at jdk/src/share/bin/java.c

Reviewed-by: alanb, martin
2013-05-07 13:15:28 -07:00
David Katleman
30d1e70fdb Merge 2013-05-07 13:13:12 -07:00
Brandon Passanisi
aac9a477c2 4802647: Throw required NPEs from removeAll()/retainAll()
Reviewed-by: mduigou, chegar, dholmes
2013-05-07 12:05:52 -07:00
Naoto Sato
06036d34ef 8013086: NPE thrown by SimpleDateFormat with TimeZoneNameProvider supplied
Reviewed-by: okutsu
2013-05-07 11:31:08 -07:00
Staffan Larsen
dafdd3677f 8004007: test/sun/tools/jinfo/Basic.sh fails on when runSA is set to true
Reviewed-by: alanb, dsamersoff
2013-05-07 20:00:47 +02:00
Staffan Larsen
90294d0d6a 6980985: java/lang/management/MemoryMXBean/ResetPeakMemoryUsage is not robust when getMax() returns -1
7181907: TEST_BUG: j/l/management/MemoryMXBean/ResetPeakMemoryUsage fails with NegativeArraySizeException
7148492: java/lang/management/MemoryMXBean/ResetPeakMemoryUsage.java failing since update to hs23-b15 or b16

Reviewed-by: mchung, brutisso
2013-05-07 19:57:55 +02:00
David Katleman
80ce36c2e8 Merge 2013-05-07 10:51:07 -07:00
Daniel Fuchs
b317a8b992 8008738: Issue in com.sun.org.apache.xml.internal.serializer.Encodings causes some JCK tests to fail intermittently
Encodings.java sometimes creates EncodingInfo objects whose java names are not recognized by the Charset API. This patch fixes that issue.

Reviewed-by: joehw, alanb
2013-05-07 11:35:49 +02:00
Joel Borggrén-Franck
361312dcfe 8013541: Revise javadoc for Executable.getAnnotatedReturnType()
Reviewed-by: abuckley, darcy
2013-05-07 09:52:23 +02:00
Weijun Wang
5ec35be1d2 8010192: Enable native JGSS provider on Mac
Reviewed-by: valeriep
2013-05-07 12:30:36 +08:00
Xueming Shen
722199f9b2 8013252: Regex Matcher .start and .end should be accessible by group name
8013254: Constructor \w need update to add the support of \p{Join_Control}

Added the requested methods and updated the \w constructor

Reviewed-by: mchung, alanb
2013-05-06 21:24:37 -07:00