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

(cs) JCK13 api/java_io/InputStreamReader/index.html ISRSkipTest & ISRRead2Test,

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.4.0
    • core-libs
    • x86, sparc
    • linux, solaris_2.6, solaris_7, windows_2000

      Template for filing a BUG:

      Bug description ---> java.lang.Error was throws.

      The tests passed on b44, but failed on b46.

      ****************************************************************************
      Failing Test:
      =============
      api/java_io/InputStreamReader/index.html#ISRSkipTest
      api/java_io/InputStreamReader/index.html#ISRRead2Test

      JCK :
      =====
      JCK1.3

      Test source location:
      ====================
       /net/jdk/export/disk8/local.java/jck1.3/JCK-runtime-13fcs/tests/api/java_io/InputStreamReader/ISRSkipTest.java
      /net/jdk/export/disk8/local.java/jck1.3/JCK-runtime-13fcs/tests/api/java_io/InputStreamReader/ISRRead2Test.java

      Platforms:
      =============
      Sparc/Solaris 5.7
      Intel/Solaris 5.6

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

      default switche
      -client -Xmixed


      jtr file location:
      ==================
      file:/net/jtg-s117/export/home/jtg-test/JH_jdk14_b46_jck13/workDir/api/java_io/InputStreamReader/index_ISRSkipTest.jtr
      file:/net/jtg-s117/export/home/jtg-test/JH_jdk14_b46_jck13/workDir/api/java_io/InputStreamReader/index_ISRRead2Test.jtr

      The jtr file is attached too.

      How to reproduce:
      ====================
      Run the attached script

      1) In_Stream_Reader_ISRSkipTest.ksh
      2) In_Stream_Reader_ISRRead2Test.ksh

      Test output:
      =============

      1) api/java_io/InputStreamReader/index.html#ISRSkipTest

      Starting testcase SkipTest0004...
      Testing the Skip Method with the inputstream which is empty i.e it is at end of file taking the ByteArrayInputStream as the InputStream
      Constructing InputStreamReader( ByteArrayInputStream ) encoding is UTF8
      Constructor successful
      java.lang.reflect.InvocationTargetException
              at java.lang.reflect.Method.invoke(Native Method)
              at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:408)
              at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:204)
              at javasoft.sqe.tests.api.java.io.InputStreamReader.ISRSkipTest.main(ISRSkipTest.java:747)
      Caused by: java.lang.Error
              at java.io.InputStreamReader$CharsetFiller.fill(InputStreamReader.java:353)
              at java.io.InputStreamReader.read(InputStreamReader.java:478)
              at java.io.Reader.skip(Reader.java:148)
              at javasoft.sqe.tests.api.java.io.InputStreamReader.ISRSkipTest.SkipTest0004(ISRSkipTest.java:248)
              ... 4 more
      SkipTest0004: Failed. Test case throws exception: java.lang.Error
      STATUS:Failed.tests: 1; failed: 1; first test case failure: SkipTest0004

      2) api/java_io/InputStreamReader/index.html#ISRRead2Test

      -----
      java.lang.reflect.InvocationTargetException
              at java.lang.reflect.Method.invoke(Native Method)
              at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:408)
              at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:204)
              at javasoft.sqe.tests.api.java.io.InputStreamReader.ISRRead2Test.main(ISRRead2Test.java:575)
      Caused by: java.lang.Error
              at java.io.InputStreamReader$CharsetFiller.fill(InputStreamReader.java:376)
              at java.io.InputStreamReader.read(InputStreamReader.java:478)
              at java.io.InputStreamReader.read(InputStreamReader.java:440)
              at javasoft.sqe.tests.api.java.io.InputStreamReader.ISRRead2Test.Read2Test0007(ISRRead2Test.java:458)
              ... 4 more
      Read2Test0007: Failed. Test case throws exception: java.lang.Error
      STATUS:Failed.tests: 7; passed: 6; failed: 1; first test case failure: Read2Test0007
      result: Failed. tests: 7; passed: 6; failed: 1; first test case failure: Read2Test0007
       

      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/09/01 17:08:57
        Processor has been on-line since 12/20/00 10:44:13.
        The sparcv9 processor operates at 296 MHz,
              and has a sparcv9 floating point processor.
      Status of processor 2 as of: 01/09/01 17:08:57
        Processor has been on-line since 12/20/00 10:44:14.
        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
      ===========
      Sparc 5.7 jtg-s117

      JDK required patches installed on the machine:
      Patch: 107544-03 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr
      Patch: 106541-12 Obsoletes:
      Incompatibles: Packages: SUNWkvmx, SUNWkvm, SUNWcsu, SUNWcsr, SUNWcslx, SUNWcsl, SUNWcarx, SUNWcar, SUNWesu, SUNWarc, SUNWarcx, SUNWatfsr, SUNWscpu, SUNWcpr, SUNWcprx, SUNWcsxu, SUNWdpl, SUNWdplx, SUNWesxu, SUNWhea, SUNWipc, SUNWtoo, SUNWnisu, SUNWpcmci, SUNWpcmcu, SUNWpcmcx, SUNWtnfc, SUNWtnfcx, SUNWtoox, SUNWvolr, SUNWypu
      Patch: 109104-04 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr, SUNWcarx
      Patch: 108376-16 Obsoletes: 107078-18, 107648-09 Requires: Incompatibles: Packages: SUNWxwfnt, SUNWxwice, SUNWxwplt, SUNWxwicx, SUNWxwplx, SUNWxwinc, SUNWxwman, SUNWxwpmn, SUNWxwslb
      Patch: 106950-13 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcslx, SUNWcsl, SUNWarc, SUNWbtool, SUNWbtoox, SUNWcsxu, SUNWhea, SUNWtoo, SUNWtoox
      Patch: 107081-24 Obsoletes: 107607-01, 107802-01 Requires: Incompatibles: Packages: SUNWmfrun, SUNWdtbax
      Patch: 106300-09 Obsoletes: Requires: 106327-07 Incompatibles: Packages: SUNWlibCx
      Patch: 106327-08 Obsoletes: Requires: Incompatibles: Packages: SUNWlibC

      Intel
      =====
      Hostname: jtg-i104
      Hostid: 1a2c637f
      Release: 5.6
      Kernel architecture: i86pc
      Application architecture: i386
      Hardware provider:
      Domain: javasoft.eng.sun.com
      Kernel version: SunOS 5.6 Generic 105182-23 July 2000
      ===========
      Status of processor 0 as of: 01/09/01 17:10:15
        Processor has been on-line since 01/05/01 16:06:23.
        The i386 processor operates at 232 MHz,
              and has an i387 compatible floating point processor.
      Status of processor 1 as of: 01/09/01 17:10:15
        Processor has been on-line since 01/05/01 16:06:23.
        The i386 processor operates at 232 MHz,
              and has an i387 compatible floating point processor.
      ===========
                                  Solaris 2.6 s297_37c INTEL
                 Copyright 1996 Sun Microsystems, Inc. All Rights Reserved.
                            Manufactured in the USA 16 July 1997

      Intel 5.6 jtg-i104

      Patch: 106248-37 Obsoletes: Requires: Incompatibles: Packages: SUNWxwfnt, SUNWxwplt, SUNWxwcft, SUNWxwslb
      Patch: 106041-15 Obsoletes: 105201-04 Requires: Incompatibles: Packages: SUNWxi18n, SUNWxim
      Patch: 105569-16 Obsoletes: Requires: 105211-27 Incompatibles: Packages: SUNWcsu, SUNWhea

      Patch: 107734-09 Obsoletes: 105491-09 Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWarc, SUNWbtool, SUNWhea, SUNWtoo, SUNWosdem, SUNWxcu4
      Patch: 107734-09 Obsoletes: 105491-09 Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWarc, SUNWbtool, SUNWhea, SUNWtoo, SUNWosdem, SUNWxcu4
      Patch: 105211-33 Obsoletes: Requires: 105182-22 Incompatibles: Packages: SUNWcsu, SUNWarc
      Patch: 105182-23 Obsoletes: 105215-01, 105777-01, 106309-01, 109416-01 Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcar, SUNWhea

      Patch: 108642-03 Obsoletes: Requires: Incompatibles: Packages: SUNWplow
      Patch: 104678-07 Obsoletes: 102859-02 Requires: Incompatibles: Packages: SUNWlibC
      Patch: 106126-10 Obsoletes: Requires: Incompatibles: Packages: SUNWswmt



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



      takwing.cheung@Eng 2001-01-09

            mr Mark Reinhold
            tacheung Tak Wing Cheung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: