8198753: (dc) DatagramChannel throws unspecified exceptions

Brian Burkhalter brian.burkhalter at oracle.com
Tue Mar 20 15:11:55 UTC 2018


On Mar 20, 2018, at 12:56 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:

>> Perhaps I should pull the single test done in SendToUnresolved into ConnectedSend (with bug ID) and remove SendToUnresolved altogether?
> ConnectedSend was created to test send with a connected datagram channel so it will need to be renamed and its summary changed if extended to test both connect and send. I think it would be easier to maintain if they were separate tests.

If the tests are split across two different test classes can they both have the same @bug ID? Or the one which deals with send() exceptions retains the bug ID in SendToUnresolved and the current bug ID is used in the test which deals with connect() exceptions?

> Also as you are moving these to TestNG then the specific tests cases can be very small.  DatagramChannel has a bind method so you don't need to use the socket adapter to bind.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20180320/f65188bc/attachment.html>


More information about the nio-dev mailing list