RFR: 8279339: (ch) Input/Output streams returned by Channels factory methods don't support concurrent read/write ops

Lance Andersen lancea at openjdk.java.net
Wed Jan 5 18:58:10 UTC 2022


On Wed, 5 Jan 2022 18:18:24 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> > I typically use assertThrows vs expectThrows for consistency with the other assertXXX
> 
> I've got into the habit of using expectThrows because tests will often need to check the exception cause (assertThrows is void). I don't mind changing it as either will work for this test.

No need to change.  All good by me either way!

-------------

PR: https://git.openjdk.java.net/jdk/pull/6953


More information about the nio-dev mailing list