There are a number of tests in niosocketimpl-branch of the sandbox that are needed to exercise Socket in ways that aren't fully exercised by the existing tests. I'd like to bring some of these tests into jdk/jdk in advance of the new NIO based SocketImpl, specifically:

- AsyncShutdown: invoke shutdownInput/shutdownOutput when a thread is blocked in read/write - ConnectionReset: tests the behavior specified by Socket::getInputStream for cases where a connection is reset with data and no data available
- UdpSocket: uses a deprecated Socket constructor to create UDP socket
- Timeouts: test timed connect, read and accept operations. This tests several scenarios that the existing tests using timeouts do not exercise.

The webrev with the tests is here:
  http://cr.openjdk.java.net/~alanb/8221259/webrev/

-Alan

Reply via email to