JDK-6855266 : nio does not seem to work with Linux kernel 2.6.13
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 1.4.2_21
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2009-06-26
  • Updated: 2011-01-19
  • Resolved: 2009-06-26
Related Reports
Duplicate :  
Description
FCtransferTosize and FCtransferTo testcases are failing on rhel4-i586, rhel5-i586, suse9-i586 and suse10-i586 (tezro.russia.sun.com, stt-71.russia.sun.com, stt-29.russia.sun.com, stt-04.russia.sun.com) with 1.4.2_21 b05_j4b. It is failing with previous updates, previous betas and alse in 1.4.2 b28 fcs release so it is not a regression. 

How To Reproduce :
================
Compile and execute the FCtransferTosize.java
java -cp test.jar:. FCtransferTosize

OUTPUT:
======

AMD-SLES9.0:
===========
TestFailException: FCtransferTosizeTest1 FAIL: Expected Exception - FCtransferTosizeTest1java.io.IOException: Invalid argument
        at TestHelper.testFail(TestHelper.java:70)
        at FCtransferTosize.FCtransferTosizeTest1(FCtransferTosize.java:166)
        at FCtransferTosize.go(FCtransferTosize.java:78)
        at FCtransferTosize.main(FCtransferTosize.java:44)
Test Case FCtransferTosizeTest1 failed!
Pass count: 0
Fail count: 1
java.nio.channels.transferTo()  Failed
# uname -a
Linux stt-29 2.6.13-15.18-smp #1 SMP Tue Oct 2 17:36:20 UTC 2007 i686 i686 i386 GNU/Linux