-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
6
-
x86
-
windows_vista
JDK : Fails: Mustang b98
Platform[s] : Fails On: Windows Vista (32-bit) build 5520
Failing Test [s] : java/nio/channels/AsyncCloseAndInterrupt.java
Test source location:
=====================
/net/cady/export/jdk1.6.0/promoted/all/b98/ws/j2se/test/java/nio/channels/AsyncCloseAndInterrupt.java
jtr file location:
==================
/net/cady/export6/results/mustang/b98/reg/regression-reg-winVista-32-2006-09-07-15-26-59-0183/workDir/java/nio/channels/AsyncCloseAndInterrupt.jtr
How to reproduce:
====================
- Set JAVA_HOME to Mustang b98 windows-i586
- cd /net/cady/export/jdk1.6.0/promoted/all/b98/ws/j2se/test/java/nio/channels
- /net/koori.sfbay/onestop/jct-tools/2.1.6/archive/fcs/binaries/win32/bin/jtreg -r:/tmp -w:/tmp ./AsyncCloseAndInterrupt.java
Test output:
============
----------System.err:(65/2582)----------
Initializing refuser... 50 connections
WARNING: Cannot completely test FileChannels on Windows
FileChannel/transferTo/interrupt
Transferred 1048576 bytes
Channel open
FileChannel/transferTo/pre-interrupt
Thrown as expected: java.nio.channels.ClosedByInterruptException
FileChannel/transferTo/close
Transferred 1048576 bytes
Channel open
FileChannel/transferFrom/interrupt
Thrown as expected: java.nio.channels.ClosedByInterruptException
FileChannel/transferFrom/pre-interrupt
Thrown as expected: java.nio.channels.ClosedByInterruptException
WARNING: transferFrom/close not tested
SocketChannel/read/interrupt
Thrown as expected: java.nio.channels.ClosedByInterruptException
SocketChannel/read/pre-interrupt
Thrown as expected: java.nio.channels.ClosedByInterruptException
SocketChannel/read/close
Thrown as expected: java.nio.channels.AsynchronousCloseException
SocketChannel/read/shutdown-input
WARNING: Asynchronous shutdown not working on Windows
Thrown as expected: java.nio.channels.AsynchronousCloseException
SocketChannel/readv/interrupt
Thrown as expected: java.nio.channels.ClosedByInterruptException
SocketChannel/readv/pre-interrupt
Thrown as expected: java.nio.channels.ClosedByInterruptException
SocketChannel/readv/close
Thrown as expected: java.nio.channels.AsynchronousCloseException
SocketChannel/readv/shutdown-input
WARNING: Asynchronous shutdown not working on Windows
Thrown as expected: java.nio.channels.AsynchronousCloseException
SocketChannel/write/interrupt
java.lang.Exception: SocketChannel/write/interrupt timed out
at TestThread.finishAndThrow(TestThread.java:60)
at AsyncCloseAndInterrupt.test(AsyncCloseAndInterrupt.java:547)
at AsyncCloseAndInterrupt.test(AsyncCloseAndInterrupt.java:554)
at AsyncCloseAndInterrupt.test(AsyncCloseAndInterrupt.java:599)
at AsyncCloseAndInterrupt.main(AsyncCloseAndInterrupt.java:637)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
at java.lang.Thread.run(Thread.java:619)
Platform[s] : Fails On: Windows Vista (32-bit) build 5520
Failing Test [s] : java/nio/channels/AsyncCloseAndInterrupt.java
Test source location:
=====================
/net/cady/export/jdk1.6.0/promoted/all/b98/ws/j2se/test/java/nio/channels/AsyncCloseAndInterrupt.java
jtr file location:
==================
/net/cady/export6/results/mustang/b98/reg/regression-reg-winVista-32-2006-09-07-15-26-59-0183/workDir/java/nio/channels/AsyncCloseAndInterrupt.jtr
How to reproduce:
====================
- Set JAVA_HOME to Mustang b98 windows-i586
- cd /net/cady/export/jdk1.6.0/promoted/all/b98/ws/j2se/test/java/nio/channels
- /net/koori.sfbay/onestop/jct-tools/2.1.6/archive/fcs/binaries/win32/bin/jtreg -r:/tmp -w:/tmp ./AsyncCloseAndInterrupt.java
Test output:
============
----------System.err:(65/2582)----------
Initializing refuser... 50 connections
WARNING: Cannot completely test FileChannels on Windows
FileChannel/transferTo/interrupt
Transferred 1048576 bytes
Channel open
FileChannel/transferTo/pre-interrupt
Thrown as expected: java.nio.channels.ClosedByInterruptException
FileChannel/transferTo/close
Transferred 1048576 bytes
Channel open
FileChannel/transferFrom/interrupt
Thrown as expected: java.nio.channels.ClosedByInterruptException
FileChannel/transferFrom/pre-interrupt
Thrown as expected: java.nio.channels.ClosedByInterruptException
WARNING: transferFrom/close not tested
SocketChannel/read/interrupt
Thrown as expected: java.nio.channels.ClosedByInterruptException
SocketChannel/read/pre-interrupt
Thrown as expected: java.nio.channels.ClosedByInterruptException
SocketChannel/read/close
Thrown as expected: java.nio.channels.AsynchronousCloseException
SocketChannel/read/shutdown-input
WARNING: Asynchronous shutdown not working on Windows
Thrown as expected: java.nio.channels.AsynchronousCloseException
SocketChannel/readv/interrupt
Thrown as expected: java.nio.channels.ClosedByInterruptException
SocketChannel/readv/pre-interrupt
Thrown as expected: java.nio.channels.ClosedByInterruptException
SocketChannel/readv/close
Thrown as expected: java.nio.channels.AsynchronousCloseException
SocketChannel/readv/shutdown-input
WARNING: Asynchronous shutdown not working on Windows
Thrown as expected: java.nio.channels.AsynchronousCloseException
SocketChannel/write/interrupt
java.lang.Exception: SocketChannel/write/interrupt timed out
at TestThread.finishAndThrow(TestThread.java:60)
at AsyncCloseAndInterrupt.test(AsyncCloseAndInterrupt.java:547)
at AsyncCloseAndInterrupt.test(AsyncCloseAndInterrupt.java:554)
at AsyncCloseAndInterrupt.test(AsyncCloseAndInterrupt.java:599)
at AsyncCloseAndInterrupt.main(AsyncCloseAndInterrupt.java:637)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
at java.lang.Thread.run(Thread.java:619)
- duplicates
-
JDK-6395224 (so) SocketChannel writer blocked on large buffer is not preempted by close method (vista)
- Closed