Re: RFR JDK-8005120

2012-12-19 Thread David Holmes
Real sense of deja-vu here. Didn't we go through this same thing with the HPI socket routines? Depending on the OS (and version?) we should be using socklen_t not int and not uint32_t. David On 20/12/2012 2:35 AM, Chris Hegarty wrote: John, I grabbed your patch, and with it I now see diffe

Re: RFR JDK-8005120

2012-12-19 Thread Dmitry Samersoff
John, On 2012-12-19 23:33, John Zavgren wrote: > Dmitry: > Are you suggesting that in the definition of, for example, dbgsysConnect(), > we convert the namelen argument to be a socklen_t? The best approach IMHO, is dbgsysConnect(int fd, struct sockaddr *name, socklen_t namelen) and change sha

hg: jdk8/tl/jdk: 8005097: Tie isSynthetic javadoc to the JLS

2012-12-19 Thread joe . darcy
Changeset: 1f9c19741285 Author:darcy Date: 2012-12-19 11:53 -0800 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/1f9c19741285 8005097: Tie isSynthetic javadoc to the JLS Reviewed-by: mduigou ! src/share/classes/java/lang/Class.java ! src/share/classes/java/lang/reflect/Constructor

Re: RFR JDK-8005120

2012-12-19 Thread John Zavgren
Dmitry: Are you suggesting that in the definition of, for example, dbgsysConnect(), we convert the namelen argument to be a socklen_t? int dbgsysConnect(int fd, struct sockaddr *name, uint32_t namelen) { int rv = connect(fd, name, (socklen_t)nameLength);<--- NEW if (rv < 0 && (errno ==

Re: RFR JDK-8005120

2012-12-19 Thread Dmitry Samersoff
John, On 2012-12-19 22:25, John Zavgren wrote: > Yes... I did consider that, but I didn't see any POSIX data types near the > code I was changing, so I decided to use a "brute force" data type instead. connect, recvfrom etc almost always uses socklen_t, but socklen_t could expands either to int

Re: RFR JDK-8005120

2012-12-19 Thread John Zavgren
Yes... I did consider that, but I didn't see any POSIX data types near the code I was changing, so I decided to use a "brute force" data type instead. Shall I make that change? John - Original Message - From: dmitry.samers...@oracle.com To: john.zavg...@oracle.com Cc: net-dev@openjdk.jav

Re: RFR JDK-8005120

2012-12-19 Thread Dmitry Samersoff
John, Did you consider using socklen_t instead of uint32_t and unsigned int (for namelen etc) ? -Dmitry On 2012-12-19 19:36, John Zavgren wrote: > Greetings: > Please consider the following change to the two files: > src/share/transport/socket/sysSocket.h > src/solaris/transport/socket/socket_m

hg: jdk8/tl/langtools: 8005098: Provide isSynthesized() information on Attribute.Compound

2012-12-19 Thread jonathan . gibbons
Changeset: f72c9c5aeaef Author:jfranck Date: 2012-12-16 11:09 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/f72c9c5aeaef 8005098: Provide isSynthesized() information on Attribute.Compound Reviewed-by: jjg ! make/build.properties ! src/share/classes/com/sun/tools/javac

Re: RFR JDK-8005120

2012-12-19 Thread Chris Hegarty
John, I grabbed your patch, and with it I now see different warnings. ../../../../src/share/transport/socket/socketTransport.c: In function 'socketTransport_startListening': ../../../../src/share/transport/socket/socketTransport.c:310:40: warning: pointer targets in passing argument 3 of 'dbgs

Re: RFR JDK-8005120

2012-12-19 Thread Alan Bateman
John - this is the debugger socket transport so cc'ing the serviceability-dev list as that is where this code is maintained. On 19/12/2012 15:36, John Zavgren wrote: Greetings: Please consider the following change to the two files: src/share/transport/socket/sysSocket.h src/solaris/transport/

RFR JDK-8005120

2012-12-19 Thread John Zavgren
Greetings: Please consider the following change to the two files: src/share/transport/socket/sysSocket.h src/solaris/transport/socket/socket_md.c that eliminate compiler warnings that stem from the fact that the variables that the native code passes to various system calls were not declared corre

hg: jdk8/tl/langtools: 8004833: Integrate doclint support into javac

2012-12-19 Thread jonathan . gibbons
Changeset: 67b01d295cd2 Author:jjg Date: 2012-12-19 11:29 + URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/67b01d295cd2 8004833: Integrate doclint support into javac Reviewed-by: mcimadamore ! src/share/classes/com/sun/tools/javac/main/Main.java ! src/share/classes/com/s