5235 Commits

Author SHA1 Message Date
Vinnie Ryan
4128a74cbc Merge 2013-05-15 15:39:28 +01: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
Vinnie Ryan
1c510cf688 Merge 2013-05-15 14:49:50 +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
Vinnie Ryan
dd74360c62 Merge 2013-05-14 18:11:46 +01:00
Stephen Flores
c39030c7b3 7194075: Various classes of sunec.jar are duplicated in rt.jar
Reviewed-by: mullan, vinnie
2013-05-14 18:08:18 +01: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
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
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
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
Weijun Wang
0c02ab3a5e 8012679: Let allow_weak_crypto default to false
Reviewed-by: valeriep
2013-05-08 08:25:34 +08: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
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
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
Brian Goetz
68101a98fd 8003258: BufferedReader.lines()
Co-authored-by: Henry Jen <henry.jen@oracle.com>
Reviewed-by: alanb, mduigou, psandoz
2013-05-06 20:54:54 -07:00
Akhil Arora
e41e09a670 8013150: Iterator.remove and forEachRemaining relationship not specified
Reviewed-by: mduigou
2013-05-06 20:54:48 -07:00
Mike Duigou
5001b55ff1 8013712: Add Objects.nonNull and Objects.isNull
Reviewed-by: mchung, darcy
2013-05-06 20:54:42 -07:00
Dan Xu
c31fc852f1 8003992: File and other classes in java.io do not handle embedded nulls properly
Have every file operation done with File, FileInputStream, FileOutputStream, or RandomAccessFile that involves a file path containing NUL fail. Also reviewed by fweimer@redhat.com

Reviewed-by: alanb, sherman, ahgross, mduigou, dholmes, aph, plevart, martin
2013-05-06 14:17:59 -07:00
Mike Duigou
a90afa9d76 8013528: Provide SharedSecrets access to String(char[], boolean) constructor
Reviewed-by: martin, alanb, chegar, plevart
2013-05-03 10:57:28 -07:00
Jaroslav Bachorik
7c11aba793 7199324: Connection ID for IPv6 addresses is not generated accordingly to the specification
RemoteServer.getClientHost is returning a String with an IPv6 literal address and we need to enclose it in [] when building the connection id

Reviewed-by: alanb, sjiang
2013-05-02 13:21:09 +02:00
Weijun Wang
cd5050ea28 8013855: DigestMD5Client has not checked RealmChoiceCallback value
Reviewed-by: xuelei, mullan
2013-05-03 10:43:24 +08:00
Kurchi Subhra Hazra
3dbbc23195 8013140: Heap corruption with NetworkInterface.getByInetAddress() and long i/f name
Remove buffer overruns in native code

Reviewed-by: alanb, chegar
2013-05-02 14:26:51 -07:00
Alexander Zuev
ec8f960d21 8013155: [pack200] improve performance of pack200
Reviewed-by: ksrini, jrose
2013-05-02 21:23:44 +04:00
Akhil Arora
e9d3d7b789 8012645: Stream methods on BitSet, Random, ThreadLocalRandom, ZipFile
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: mduigou, henryjen, alanb, martin, psandoz
2013-05-02 09:18:56 -07:00
Kumar Srinivasan
35b650e364 8013225: Refresh jdk's private ASM to the latest
Reviewed-by: mduigou, sundar
2013-05-01 15:08:31 -07:00
Lana Steuck
890ea1852e Merge 2013-05-01 11:34:06 -07:00
Lana Steuck
d467408daf Merge 2013-05-01 11:27:12 -07:00
Paul Sandoz
b047746827 8012646: Pattern.splitAsStream
Co-authored-by: Ben Evans <benjamin.john.evans@gmail.com>
Reviewed-by: forax, plevart, alanb
2013-05-01 18:40:31 +02:00
Lana Steuck
4cb70c3b15 Merge 2013-05-01 09:20:08 -07:00