JDK-8150811 : (ch) java/nio/channels/etc/AdaptorCloseAndInterrupt.java intermittently due to ClosedByInterruptException
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 8,9
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • OS: linux,solaris,windows
  • CPU: x86_64
  • Submitted: 2016-02-29
  • Updated: 2023-11-27
  • Resolved: 2021-08-11
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
(ch) java/nio/channels/etc/AdaptorCloseAndInterrupt.java timeout intermittently at listener.accept()

java.nio.channels.ClosedByInterruptException
	at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:203)
	at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:257)
	at AdaptorCloseAndInterrupt.scReadAsyncInterrupt(AdaptorCloseAndInterrupt.java:129)
	at AdaptorCloseAndInterrupt.main(AdaptorCloseAndInterrupt.java:72)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:520)
	at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
	at java.lang.Thread.run(Thread.java:747)
Comments
as per https://bugs.openjdk.java.net/browse/JDK-8136899
11-08-2021

All the elapsed time is almost same [ elapsed time (seconds): 30.xxx ], which seems not understandable even if it runs into some error logic.
11-04-2016