|
Quick Lists
|
|
Bug ID:
|
6710579
|
|
Votes
|
0
|
|
Synopsis
|
(ch) test/java/nio/channels/AsyncCloseAndInterrupt fails (lnx)
|
|
Category
|
java:classes_nio
|
|
Reported Against
|
|
|
Release Fixed
|
7(b30),
6-open(b11) (Bug ID:2164024)
|
|
State
|
10-Fix Delivered,
bug
|
|
Priority:
|
4-Low
|
|
Related Bugs
|
|
|
Submit Date
|
04-JUN-2008
|
|
Description
|
test/java/nio/channels/AsyncCloseAndInterrupt.java is failing on Linux:
$ java AsyncCloseAndInterrupt
Initializing refuser... 53 connections
FileChannel/transferTo/interrupt
Transferred 65536 bytes
Channel open
FileChannel/transferTo/pre-interrupt
Thrown as expected: java.nio.channels.ClosedByInterruptException
FileChannel/transferTo/close
Exception in thread "main" java.lang.Exception: FileChannel/transferTo/close timed out
at TestThread.finishAndThrow(TestThread.java:83)
at AsyncCloseAndInterrupt.test(AsyncCloseAndInterrupt.java:570)
at AsyncCloseAndInterrupt.test(AsyncCloseAndInterrupt.java:590)
at AsyncCloseAndInterrupt.main(AsyncCloseAndInterrupt.java:647)
Posted Date : 2008-06-04 14:57:04.0
|
|
Work Around
|
N/A
|
|
Evaluation
|
Where the transfer methods use memory mapped I/O then closing the channel has no effect. Ths test already skips this sub-test on Solaris for this reason and should be skipped on Linux aswell. This bug will track updating the test to disable this sub-test. For jdk7 we need to re-examine this area ( minimally the transferTo method should throw AsynchronousCloseException and maybe it is possible to amaned the specification to allow for implementations where the closing the channel doesn't interrupt the transfer).
Posted Date : 2008-06-04 14:57:04.0
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |