Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6180533

FCtransferTosize and FCtransferTo testcases are failing on amd-sles9.0

XMLWordPrintable

    • x86
    • linux_suse_sles_8

      FCtransferTosize and FCtransferTo testcases are failing on amd-sles9.0 with 1.4.2_07. It is failing with 1.4.2_06 also so it is not a regression. But this can be a cross platform regression as it is passing on solaris sparc.

      How To Reproduce :
      ================

      Copy FCtransferTosize.java from the following location,
       /net/jtest-s13.india/export/testSuites/142/Libs/src/java_nio/Channel/FileChannel/FCtransferTosize

      set the CLASSPATH to

      /net/jtest-s13.india/export/testSuites/142/Libs/classes

      Compile and execute the FCtransferTosize.java

      OUTPUT:
      ======

      AMD-SLES9.0:
      ===========
      # /export/updates/jdks/j2sdk1.4.2_07/bin/javac FCtransferTosize.java
      # /export/updates/jdks/j2sdk1.4.2_07/bin/java FCtransferTosize
      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 urt-amd-1 2.6.5-7.97-default #1 Fri Jul 2 14:21:59 UTC 2004 x86_64 x86_64 x86_64 GNU/Linux


      SOLARIS9 SPARC:
      ==============

      where as this testcase is passed on solaris9 sparc, Here is the output
      jtg-s124$ export CLASSPATH=/net/jtest-s13/export/testSuites/142/Libs/classes:.:$CLASSPATH
      jtg-s124$ /usr/j2se/bin/java FCtransferTosize
      SIZE1 1850428
      SIZE2 1850428
      FCtransferTosizeTest1 PASS - FCtransferTosizeTest1
      Pass count: 1
      Fail count: 0
      java.nio.channels.transferTo() Passed
      ###@###.### 10/18/04 14:58 GMT

            sthilagasunw Sathianantha Thilagar (Inactive)
            skantesunw Srilatha Kante (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: