hg: jdk8/tl/jdk: 7096436: (sc) SocketChannel.connect fails on Windows 8 when channel configured non-blocking

2012-05-09 Thread kurchi . subhra . hazra
Changeset: 5152c832745a Author:khazra Date: 2012-05-09 16:55 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/5152c832745a 7096436: (sc) SocketChannel.connect fails on Windows 8 when channel configured non-blocking Summary: Set localAddress only when connection is established

hg: jdk8/tl/jdk: 7167362: SecureRandom.init should be converted, amendment to 7084245

2012-05-09 Thread bradford . wetmore
Changeset: 6438f1277df6 Author:wetmore Date: 2012-05-09 16:33 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/6438f1277df6 7167362: SecureRandom.init should be converted, amendment to 7084245 Reviewed-by: sherman ! src/share/classes/sun/security/provider/SecureRandom.java

hg: jdk8/tl/jdk: 7165118: (prefs) AbstractPreferences.remove(null) does not throw NPE

2012-05-09 Thread kurchi . subhra . hazra
Changeset: 59121a4c71c6 Author:khazra Date: 2012-05-09 11:14 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/59121a4c71c6 7165118: (prefs) AbstractPreferences.remove(null) does not throw NPE Summary: Insert null argument check in AbstractPreferences.remove() Reviewed-by: dholm

hg: jdk8/tl/jdk: 7166955: (pack200) JNI_GetCreatedJavaVMs needs additional checking

2012-05-09 Thread kumar . x . srinivasan
Changeset: 5e8caf6984f5 Author:ksrini Date: 2012-05-09 07:28 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/5e8caf6984f5 7166955: (pack200) JNI_GetCreatedJavaVMs needs additional checking Reviewed-by: alanb, dholmes, ksrini Contributed-by: youd...@linux.vnet.ibm.com ! src/sh

Re: Java_java_net_Inet6AddressImpl_isReachable0 is returning false for InetAdress 0.0.0.0

2012-05-09 Thread Alan Bateman
On 09/05/2012 04:36, Deven You wrote: Hi Alan, Since this patch is for Unix like platforms, I didn't test the test case on Windows yet. However when I tested it on Windows I found it will fail on Windows. I also use ping command on Windows to test both 0.0.0.0 and ::0, they all fail. So I w

Using OP_CONNECT with Selector.select causes selector to fire repeatedly

2012-05-09 Thread Deven You
Hi All, When start a simple server, listening on a port like 8765, which just accepts connections. We then register a non-blocking SocketChannel (the client) with a selector with interest in OP_CONNECT, so that we can use the selector to notify us when the channel is ready to finish connecting

Re: Using OP_CONNECT with Selector.select causes selector to fire repeatedly

2012-05-09 Thread Deven You
I suddenly realized this topic should be in nio-dev mailing list. Please ignore previous mail. Thanks a lot! On 05/09/2012 03:26 PM, Deven You wrote: Hi All, When start a simple server, listening on a port like 8765, which just accepts connections. We then register a non-blocking SocketChann