-
Bug
-
Resolution: Fixed
-
P4
-
17, 21, 22, 23
-
b05
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8324385 | 22.0.1 | Alan Bateman | P4 | Resolved | Fixed | b02 |
JDK-8323696 | 22 | Alan Bateman | P4 | Resolved | Fixed | b32 |
JDK-8325477 | 21.0.4-oracle | Ramesh Gangadhar | P4 | Resolved | Fixed | b01 |
JDK-8327557 | 21.0.4 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
test InterruptibleOrNot.testInterruptBeforeInterruptibleReceive(): failure
java.lang.AssertionError: Expected ClosedByInterruptException to be thrown, but AsynchronousCloseException was thrown
at org.testng.Assert.expectThrows(Assert.java:1724)
at org.testng.Assert.assertThrows(Assert.java:1695)
at InterruptibleOrNot.testInterruptBeforeReceive(InterruptibleOrNot.java:91)
at InterruptibleOrNot.testInterruptBeforeInterruptibleReceive(InterruptibleOrNot.java:56)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599)
at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822)
at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)
at org.testng.TestRunner.privateRun(TestRunner.java:764)
at org.testng.TestRunner.run(TestRunner.java:585)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
at org.testng.SuiteRunner.run(SuiteRunner.java:286)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
at org.testng.TestNG.runSuites(TestNG.java:1069)
at org.testng.TestNG.run(TestNG.java:1037)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:102)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1570)
Caused by: java.nio.channels.AsynchronousCloseException
at java.base/java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:203)
at java.base/sun.nio.ch.DatagramChannelImpl.endRead(DatagramChannelImpl.java:563)
at java.base/sun.nio.ch.DatagramChannelImpl.receive(DatagramChannelImpl.java:603)
at InterruptibleOrNot.lambda$testInterruptBeforeReceive$0(InterruptibleOrNot.java:91)
at org.testng.Assert.expectThrows(Assert.java:1714)
... 31 more
- backported by
-
JDK-8323696 java/nio/channels/DatagramChannel/InterruptibleOrNot.java failed: wrong exception thrown
- Resolved
-
JDK-8324385 java/nio/channels/DatagramChannel/InterruptibleOrNot.java failed: wrong exception thrown
- Resolved
-
JDK-8325477 java/nio/channels/DatagramChannel/InterruptibleOrNot.java failed: wrong exception thrown
- Resolved
-
JDK-8327557 java/nio/channels/DatagramChannel/InterruptibleOrNot.java failed: wrong exception thrown
- Resolved
- relates to
-
JDK-8236246 SelectorProvider support for creating a DatagramChannel that is not interruptible
- Resolved
- links to
-
Commit openjdk/jdk21u-dev/0b01febb
-
Commit openjdk/jdk22/01f780fa
-
Commit openjdk/jdk/ace010b3
-
Review openjdk/jdk21u-dev/324
-
Review openjdk/jdk22/69
-
Review openjdk/jdk/17251