Skip to content

Commit f92d095

Browse files
committed
8307411: Test java/foreign/channels/TestAsyncSocketChannels.java failed: IllegalStateException: Already closed
Reviewed-by: jvernee
1 parent 7a3bea1 commit f92d095

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/jdk/java/foreign/channels/TestAsyncSocketChannels.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ public void testCloseWithOutstandingRead(Supplier<Arena> arenaSupplier, int time
226226
ioOp.accept(handler);
227227
assertFalse(handler.isDone());
228228
assertTrue(drop.scope().isAlive());
229-
assertMessage(expectThrows(ISE, () -> drop.close()), "Session is acquired by");
230229

231230
// write to allow the blocking read complete, which will
232231
// in turn unlock the session and allow it to be closed.
@@ -275,7 +274,6 @@ public void completed(Long result, Void att) {
275274
// give time for socket buffer to fill up.
276275
awaitNoFurtherWrites(bytesWritten);
277276

278-
assertMessage(expectThrows(ISE, () -> drop.close()), "Session is acquired by");
279277
assertTrue(drop.scope().isAlive());
280278

281279
// signal handler to stop further writing

0 commit comments

Comments
 (0)