hg: jdk7/tl/jdk: 7000511: PrintStream, PrintWriter, Formatter, Scanner leave files open when exception thrown

2011-01-07 Thread chris . hegarty
Changeset: b8663921f5d7 Author:chegar Date: 2011-01-07 13:08 + URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/b8663921f5d7 7000511: PrintStream, PrintWriter, Formatter, Scanner leave files open when exception thrown Reviewed-by: alanb, mduigou ! src/share/classes/java/io/Prin

hg: jdk7/tl/jdk: 2 new changesets

2011-01-07 Thread alan . bateman
Changeset: 5124c2a50539 Author:alanb Date: 2011-01-07 15:49 + URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/5124c2a50539 6993732: Remove the HPI Reviewed-by: ohair, lancea, chegar, mduigou, mchung, mr ! make/common/Defs-linux.gmk ! make/common/Defs-solaris.gmk ! make/common/D

Code Review 7009760: Possible stack corruption in Java_java_net_TwoStacksPlainSocketImpl_socketGetOption()

2011-01-07 Thread Chris Hegarty
Alan, In socketGetOption() function if the option is java_net_SocketOptions_SO_BINDADDR the code allocates a SOCKET_ADDRESS, him, structure on the stack. This structure is 8 bytes long. 'len' is then set to sizeof(struct sockaddr_in) which is 16. If it's an IPV6 socket the len could get set t

Re: Code Review 7009760: Possible stack corruption in Java_java_net_TwoStacksPlainSocketImpl_socketGetOption()

2011-01-07 Thread Alan Bateman
Chris Hegarty wrote: Alan, In socketGetOption() function if the option is java_net_SocketOptions_SO_BINDADDR the code allocates a SOCKET_ADDRESS, him, structure on the stack. This structure is 8 bytes long. 'len' is then set to sizeof(struct sockaddr_in) which is 16. If it's an IPV6 socket t

hg: jdk7/tl/jdk: 7009760: Possible stack corruption in Java_java_net_TwoStacksPlainSocketImpl_socketGetOption

2011-01-07 Thread chris . hegarty
Changeset: 6bf1c5958c22 Author:chegar Date: 2011-01-07 21:02 + URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/6bf1c5958c22 7009760: Possible stack corruption in Java_java_net_TwoStacksPlainSocketImpl_socketGetOption Summary: SOCKET_ADDRESS -> SOCKETADDRESS Reviewed-by: alanb

hg: jdk7/tl/jdk: 7008728: diamond conversion of basic security, permissions, authentication

2011-01-07 Thread stuart . marks
Changeset: 3dbc783a8073 Author:smarks Date: 2011-01-07 15:39 -0800 URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/3dbc783a8073 7008728: diamond conversion of basic security, permissions, authentication Reviewed-by: mullan ! src/share/classes/com/sun/security/auth/PolicyFile.java !