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

(cs) JCK13a :api/java_io/FileReader ,Merlin-b48 ,Solaris

    Details

    • Subcomponent:
    • CPU:
      x86, sparc
    • OS:
      generic, linux, solaris_2.6, solaris_7, windows_nt

      Description

      The following tests failed with java_io, using the jdk1.4 Merlin-b48 on solaris 7/sparc.

      Bug description
      ================

      Failing Test:
      =============
      1)api/java_io/FileReader/index.html#FRRead1Test: FileReader api method read(char[],int,int) testcase
      2)api/java_io/FileReader/index.html#FRRead3Test: FileReader api method read(char[]) testcase

      JCK :
      =====
      JCK13a

      Test source location:
      ======================
      1)/net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/java_io/FileReader/FRRead1Test.java
      2)file:/net/jtg-s117/export/home/jtg-test/JH_jdk14_b48_jck13a/workDir/api/java_io/FileReader/index_FRRead3Test.jtr

      Platforms:
      =============
      Solaris 7 - sparc

      JDK, switches Info:
      ===================
      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b48)
      Java HotSpot(TM) Client VM (build 1.4beta-B48, mixed mode)


      jtr file location:
      ==================
      1)/net/jtg-s117/export/home/jtg-test/JH_jdk14_b48_jck13a/workDir/api/java_io/FileReader/index_FRRead1Test.jtr
      2)file:/net/jtg-s117/export/home/jtg-test/JH_jdk14_b48_jck13a/workDir/api/java_io/FileReader/index_FRRead3Test.jtr


      How to reproduce:
      ====================
      run the attached script:
      1)FileReader_FRRead1.ksh
      2)FileReader_FRRead3.ksh

      Test output:
      =============
      1) Starting Testcase Read1Test0007...
      For byte array input values, checks if they are read properly. Length of byte array to read is 10000
      Creating the temporary file...
      Constructing FileReader( String ) with the default encoding
      Constructor successful
      The underlying stream has 10000 characters
      Calling read(char[], int, int) with array size : 10000
      Verifying return value, which was -1
      Testcase failed. Actually read 5064 instead of the expected value 10000
      Testcase Read1Test0007 done

      Read1Test0007: Failed. Invalid number of characters were read.
      STATUS:Failed.tests: 1; failed: 1; first test case failure: Read1Test0007

      2) Starting Testcase Read3Test0007...
      For character input values, checks if they are read properly. File length 10000.
      Creating the temporary file...
      Constructing FileReader( String ) with the default encoding.
      Constructor successful
      The underlying stream has 10000 characters
      Calling read(char[]) method with char array size : 10000
      Verifying return value, which was -1
      Testcase failed. Actually read 5064 instead of the expected value 10000
      Testcase Read3Test0007 done

      Read3Test0007: Failed. Invalid number of characters were read.
      STATUS:Failed.tests: 1; failed: 1; first test case failure: Read3Test0007


      Specific Machine Info:
      =====================

      Hostname: jtg-s117
      Hostid: 808fe83f
      Release: 5.7
      Kernel architecture: sun4u
      Application architecture: sparc
      Hardware provider: Sun_Microsystems
      Domain: javasoft.eng.sun.com
      Kernel version: SunOS 5.7 Generic 106541-12 May 2000
      ===========
      Status of processor 0 as of: 01/22/01 17:04:31
        Processor has been on-line since 01/17/01 13:34:53.
        The sparcv9 processor operates at 296 MHz,
              and has a sparcv9 floating point processor.
      Status of processor 2 as of: 01/22/01 17:04:31
        Processor has been on-line since 01/17/01 13:34:54.
        The sparcv9 processor operates at 296 MHz,
              and has a sparcv9 floating point processor.
      ===========
                          Solaris 7 11/99 s998s_u4SunServer_10 SPARC
                 Copyright 1999 Sun Microsystems, Inc. All Rights Reserved.
                                  Assembled 15 October 1999


      Additional JCK related info:
      ============================
      URL to find JCK test owners: http://javaweb.eng/jck/usr/owners.jto




      sureshchandar.subramaniam@Eng 2001-01-23
      sureshchandar.subramaniam@Eng 2001-02-21

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mr Mark Reinhold
                Reporter:
                ssubramasunw Suresh Subramaniam (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: