Review request for 6432567: PIT : com/sun/jdi/BadHandshakeTest.java fails due to java.net.ConnectException

Daniel D. Daugherty Daniel.Daugherty at Sun.COM
Thu Aug 27 16:26:45 PDT 2009



Alan Bateman wrote:
> The webrev is here:
>    http://cr.openjdk.java.net/~alanb/6432567/webrev.00/

Shouldn't this:

173         b[expected] = '\0'; /* ensure null-terminated */

be this:

173         b[received] = '\0'; /* ensure null-terminated */

To cover the case of a short receive count...

Dan



More information about the serviceability-dev mailing list