Test failure on Ubuntu 10.04 java/nio/channels/FileChannel/Transfers.java
Kelly O'Hair
kelly.ohair at oracle.com
Fri Sep 30 19:43:44 UTC 2011
Has anyone seen this testcase fail like this?
FAILED: java/nio/channels/FileChannel/Transfers.java
ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Some tests failed
REASON: Assumed action based on file name: run main Transfers
TIME: 3.337 seconds
messages:
command: main Transfers
reason: Assumed action based on file name: run main Transfers
elapsed time (seconds): 3.337
STDOUT:
From file channel: 0 1 2 3 4 5 6 7 8 9 15 16 17 31 32 33 63 64 65 127 128 129 255 256 257 511 512 513 1023 1024 1025 2047 2048 2049 4095 4096 4097 8191 8192 8193 16383 16384 16385 32767
From user channel: 0 1 2 3 4 5 6 7 8 9 15 16 17 31 32 33 63 64 65 127 128 129 255 256 257 511 512 513 1023 1024 1025 2047 2048 2049 4095 4096 4097 8191 8192 8193 16383 16384 16385 32767
To file channel: 0
FAILURE: FileChannel, offset 0, length 1
Transfers$Failure: Wrong position: 0 (expected 1)
at Transfers$FileTarget.verify(Transfers.java:316)
at Transfers.testTo(Transfers.java:449)
at Transfers.main(Transfers.java:527)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:474)
at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:680)
at java.lang.Thread.run(Thread.java:722)
....
goes on forever ... :^(
-kto
More information about the core-libs-dev
mailing list