RFR: 8279339: (ch) Input/Output streams returned by Channels factory methods don't support concurrent read/write ops
Alan Bateman
alanb at openjdk.java.net
Wed Jan 5 18:21:11 UTC 2022
On Wed, 5 Jan 2022 17:09:09 GMT, Lance Andersen <lancea 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.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6953
More information about the nio-dev
mailing list