Re: Suggestion of combining some macros of processing solaris, macosx with other UNIX

2012-08-13 Thread Frank Ding
On 8/7/2012 1:46 PM, Frank Ding wrote: Hi all, In source code "jdk\src\solaris\native\java\net\PlainDatagramSocketImpl.c", there are several macros in the form of #ifdef AF_INET6 #if defined(__solaris__) || defined(MACOSX) // code for solaris and macosx (unix) [1] #endif #ifdef __linux

hg: jdk8/tl/jdk: 7188442: rename java.lang.annotation.ContainerAnnotation to ContainedBy

2012-08-13 Thread jonathan . gibbons
Changeset: f0bf7358ba23 Author:jfranck Date: 2012-08-09 17:49 +0200 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/f0bf7358ba23 7188442: rename java.lang.annotation.ContainerAnnotation to ContainedBy Reviewed-by: darcy, jjg + src/share/classes/java/lang/annotation/ContainedBy.java

Review of new Http client API

2012-08-13 Thread Michael McMahon
Hi, We have just published a draft of a proposed new Http client API [1] for JDK 8. This message has been bcc'd to jdk8-dev so that as many people as possible know about it, but the discussion will be on the net-dev list (net-dev@openjdk.java.net). So, folks will have to join that list [2],

Re: Http client API

2012-08-13 Thread Michael McMahon
To everyone who has commented on the API so far, thank you! It is much appreciated. We will be getting back on all the issues raised in the coming days. I am just about to send out a request on jdk8-dev (which covers all JDK groups) to solicit feedback from as many people as possible. Thanks

Re: Problem with getFlags() method in NetworkInterface.c

2012-08-13 Thread Shirish Kuncolienkar
Thank you Chris -Shirish On 8/13/2012 6:24 PM, Chris Hegarty wrote: On 13/08/2012 13:36, Shirish Kuncolienkar wrote: Chris, Thank you. Could you please push the changes ? Done. http://hg.openjdk.java.net/jdk8/tl/jdk/rev/399c2adf3ad6 Thanks for the contribution Shirish. -Chris. Thanks Shi

hg: jdk8/tl/jdk: 7190945: pkcs11 problem loading NSS libs on Ubuntu

2012-08-13 Thread vincent . x . ryan
Changeset: 5e5bdfd18325 Author:vinnie Date: 2012-08-13 14:06 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/5e5bdfd18325 7190945: pkcs11 problem loading NSS libs on Ubuntu Reviewed-by: xuelei, alanb ! src/share/classes/sun/security/pkcs11/Secmod.java ! test/sun/security/pkcs

Re: Problem with getFlags() method in NetworkInterface.c

2012-08-13 Thread Chris Hegarty
On 13/08/2012 13:36, Shirish Kuncolienkar wrote: Chris, Thank you. Could you please push the changes ? Done. http://hg.openjdk.java.net/jdk8/tl/jdk/rev/399c2adf3ad6 Thanks for the contribution Shirish. -Chris. Thanks Shirish On 8/10/2012 9:39 PM, Chris Hegarty wrote: Shirish, There wer

hg: jdk8/tl/jdk: 7190254: NetworkInterface getFlags implementation should support full integer bit range for flags value

2012-08-13 Thread chris . hegarty
Changeset: 399c2adf3ad6 Author:chegar Date: 2012-08-13 13:41 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/399c2adf3ad6 7190254: NetworkInterface getFlags implementation should support full integer bit range for flags value Reviewed-by: chegar Contributed-by: Shirish Kuncol

Re: Problem with getFlags() method in NetworkInterface.c

2012-08-13 Thread Shirish Kuncolienkar
Chris, Thank you. Could you please push the changes ? Thanks Shirish On 8/10/2012 9:39 PM, Chris Hegarty wrote: Shirish, There were some minor issues with your patch ( it did not build on all platforms ). I fixed these issues and also updated the Mac variant of getFlags. It now compiles an

hg: jdk8/tl/jdk: 7190219: (bf) CharBuffer.put(String, int, int) modifies position even if BufferOverflowException thrown

2012-08-13 Thread luchsh
Changeset: bf0c6f91bc22 Author:luchsh Date: 2012-08-13 19:51 +0800 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/bf0c6f91bc22 7190219: (bf) CharBuffer.put(String,int,int) modifies position even if BufferOverflowException thrown Reviewed-by: alanb ! src/share/classes/java/nio/X-B