3989 Commits

Author SHA1 Message Date
Deven You
abd7e74713 7163874: InetAddress.isReachable should support pinging 0.0.0.0
Reviewed-by: alanb, chegar
2012-05-11 16:20:46 +08:00
Valerie Peng
4dfbf0acd1 Merge 2012-05-10 11:19:22 -07:00
Kurchi Subhra Hazra
2c13671808 7096436: (sc) SocketChannel.connect fails on Windows 8 when channel configured non-blocking
Set localAddress only when connection is established

Reviewed-by: alanb
2012-05-09 16:55:55 -07:00
Bradford Wetmore
34aa937e99 7167362: SecureRandom.init should be converted, amendment to 7084245
Reviewed-by: sherman
2012-05-09 16:33:30 -07:00
Kurchi Subhra Hazra
769059e3a3 7165118: (prefs) AbstractPreferences.remove(null) does not throw NPE
Insert null argument check in AbstractPreferences.remove()

Reviewed-by: dholmes, chegar, alanb
2012-05-09 11:14:22 -07:00
Deven You
35e44803db 7166955: (pack200) JNI_GetCreatedJavaVMs needs additional checking
Reviewed-by: alanb, dholmes, ksrini
2012-05-09 07:28:12 -07:00
Jonathan Lu
7befd87c21 7165722: Invalid path in MemoryMonitor demo's README.txt
Reviewed-by: alanb, sla
2012-05-09 11:19:54 +08:00
Valerie Peng
00cdcad12f Merge 2012-05-08 18:57:45 -07:00
Xue-Lei Andrew Fan
081be38b26 7166570: JSSE certificate validation has started to fail for certificate chains
Reviewed-by: wetmore
2012-05-08 18:08:49 -07:00
Valerie Peng
879e30901e 4963723: Implement SHA-224
Add support for SHA-224, SHA224withRSA, SHA224withECDSA, HmacSHA224 and OAEPwithSHA-224AndMGF1Padding.

Reviewed-by: vinnie
2012-05-08 17:57:48 -07:00
Xue-Lei Andrew Fan
f44a8ebe07 7167092: Need to put the return clause in the synchronized block
A regression fix for bug 7153184

Reviewed-by: wetmore
2012-05-08 17:56:18 -07:00
Paul Sandoz
30fb5c8146 7157656: (zipfs) SeekableByteChannel to entry in zip file always reports its position as 0
Updated SeekableByteChannel.read() to count the bytes read correctly

Reviewed-by: sherman
2012-05-08 11:16:36 -07:00
Xueming Shen
c8da8f2595 7014640: To add a metachar \R for line ending and character classes for vertical/horizontal ws \v \V \h \H
Added propsoed constructs

Reviewed-by: alanb
2012-05-08 10:57:13 -07:00
David Holmes
828158fb8d 7103570: AtomicIntegerFieldUpdater does not work when SecurityManager is installed
Perform class.getField inside a doPrivileged block

Reviewed-by: chegar, psandoz
2012-05-08 02:59:10 -04:00
Rob McKenna
fd928bc1ef 7166687: InetAddress.getLocalHost().getHostName() returns FQDN
Reviewed-by: chegar
2012-05-07 13:34:19 +01:00
Sean Chou
703f08dfe8 7166048: Remove the embeded epoll data structure
Reviewed-by: alanb
2012-05-07 16:43:16 +08:00
Xue-Lei Andrew Fan
7ae15519b1 7153184: NullPointerException when calling SSLEngineImpl.getSupportedCipherSuites
Reviewed-by: weijun
2012-05-04 17:28:27 -07:00
Knut Anders Hatlen
2f8d099c20 7166598: FilteredRowSetImpl can result in Invalid Cursor Position
Reviewed-by: lancea
2012-05-04 16:00:47 -04:00
Jim Gish
b4c2c567d6 7160714: Strange or obsolete @see tags in some exception java.util javadoc
Reviewed-by: mduigou, dholmes, alanb
2012-05-02 21:46:31 +01:00
Rémi Forax
05ffd97b08 7165102: Only run assertion on Integer autoboxing cache size once
Reviewed-by: darcy, alanb
2012-05-02 20:01:59 +01:00
Mandy Chung
728600d4e3 7164376: Replace use of sun.security.action.LoadLibraryAction with System.loadLibrary
Reviewed-by: alanb, mullan, prr
2012-05-01 19:45:34 -07:00
Xue-Lei Andrew Fan
4a3f30b744 7158688: Typo in SSLContext Spec
Reviewed-by: weijun, wetmore
2012-05-01 03:48:26 -07:00
Alan Bateman
6fed495d1f 7164570: (fs) WatchService queues CREATE event but not DELETE event for very short lived files [sol11]
Reviewed-by: chegar
2012-05-01 11:17:20 +01:00
Xue-Lei Andrew Fan
03b36bd454 6996372: synchronizing handshaking hash
Remove the unnecessary synchronization. Also reviewed by David Schlosnagle (schlosna@gmail.com)

Reviewed-by: weijun
2012-04-27 04:25:50 -07:00
Lana Steuck
6c68dd5523 Merge 2012-04-26 14:21:19 -07:00
Kurchi Subhra Hazra
c53c258233 7118100: (prefs) Inconsistency when using system and user preference on OSX Lion
Enable user to read/write preferences to persistent storage

Reviewed-by: alanb
2012-04-26 12:04:29 -07:00
Kurchi Subhra Hazra
6d834825de 7160242: (prefs) Preferences.remove(null) does not throw NPE [macosx]
Insert null check of argument in remove()'s implementation

Reviewed-by: forax, chegar, alanb
2012-04-25 12:31:31 -07:00
Kurchi Subhra Hazra
21d0c9ef0d 7144274: [macosx] Default IPv6 multicast interface is not being set when calling MulticastSocket.joinGroup()
Get default interface for Mac OS X when interface is not set

Reviewed-by: chegar
2012-04-24 14:59:45 -07:00
Kumar Srinivasan
cb9507190e 7151434: java -jar -XX crashes java launcher
Reviewed-by: mchung, darcy
2012-04-24 10:37:01 -07:00
Deven You
8c029909a4 7163865: Performance improvement for DateFormatSymbols.getZoneIndex(String)
Reviewed-by: okutsu
2012-04-24 21:06:16 +08:00
Alan Bateman
35a0ff69b0 7132924: (dc) DatagramChannel.disconnect throws SocketException with IPv4 socket and IPv6 enabled [macosx]
Reviewed-by: chegar
2012-04-22 21:22:17 +01:00
Alan Bateman
154cd32776 Merge 2012-04-22 19:12:39 +01:00
Alan Bateman
091f0781b8 7163395: jdk8/tl no longer builds on Mac
Reviewed-by: chegar, ohair, ksrini
2012-04-22 19:09:02 +01:00
Kumar Srinivasan
b0c273a9b8 6981776: Pack200 must support -target 7 bytecodes
Pack200 implementation of JSR-200 updated for JSR-292 changes

Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: jrose, ksrini
2012-04-22 06:54:38 -07:00
Sean Chou
c354b234a4 7159982: ZipFile uses static for error message when malformed zip file encountered
Reviewed-by: alanb, dholmes
2012-04-20 16:11:28 +08:00
Kurchi Subhra Hazra
0590a1ea49 7158636: InterfaceAddress.getBroadcast() returns invalid broadcast address on WLAN
Update Windows native code to infer WLAN interface type in Windows Vista and later

Reviewed-by: chegar, alanb
2012-04-19 18:11:28 -07:00
Coleen Phillimore
e776b337e8 Merge 2012-04-19 10:53:35 -04:00
Paul Sandoz
5befb6f577 7162262: (fs) Typo in java.nio.file.Path class description
Reviewed-by: alanb
2012-04-19 14:05:07 +01:00
Lana Steuck
b0654071b7 Merge 2012-04-18 10:21:59 -07:00
Lana Steuck
b85926e45f Merge 2012-04-18 10:18:10 -07:00
Leonid Romanov
846b62bbd6 7124286: [macosx] Option modifier should work like AltGr as in Apple jdk
Reviewed-by: anthony
2012-04-18 21:08:38 +04:00
Dmitry Cherepanov
3f50074142 7156194: [macosx] Can't type non-ASCII characters into applets
Reviewed-by: anthony, art
2012-04-18 09:29:09 +04:00
Remi Forax
00ef83a6ab 7157893: Warnings Cleanup in java.util.*
Minor code changes to cleanup warnings in java.util.*

Reviewed-by: mduigou, naoto, smarks
2012-04-17 12:21:56 -07:00
Joe Wang
87e24367ff 7160380: Sync JDK8 with JAXP 1.4.5
Bring JDK8 up to date to what we have in 7u4

Reviewed-by: lancea, mullan
2012-04-17 11:21:35 -07:00
Alexander Zuev
b86618edf9 7161109: [macosx] JCK AWT interactive test DnDTextDropTest fails on MacOS
Reviewed-by: serb
2012-04-17 21:40:12 +04:00
Staffan Larsen
a133263681 Merge 2012-04-17 07:25:05 -07:00
Rob McKenna
350730be55 7118373: (se) Potential leak file descriptor when deregistrating at around the same time as an async close
Reviewed-by: alanb
2012-04-17 07:14:14 -07:00
Dmeetry Degrave
c5681473cb 7015981: java.net.HttpCookie.domainMatches returns false if domain doesn't start with a dot
Reviewed-by: chegar
2012-04-17 16:13:28 +04:00
Staffan Larsen
311ea4a969 7147848: com.sun.management.UnixOperatingSystem uses hardcoded dummy values [macosx]
Provide the missing implementation UnixOperatingSystem on Mac OS X

Reviewed-by: dsamersoff, dcubed
2012-04-17 06:45:57 +02:00
James Melvin
d090606f36 7130404: [macosx] "os.arch" value should be "x86_64" for compatibility with Apple JDK6
On Mac OS X, align system property "os.arch" with Apple legacy JDKs.  Also, improve os.name string matching by using .contains() method instead of .startsWith(). This fix spans multiple repositories.

Reviewed-by: dcubed, phh, ohair, katleman
2012-04-16 18:09:53 -04:00