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

JCK1.4, api/javax_imageio/stream/MemoryCacheImageOutputStream/index.html#read

    XMLWordPrintable

    Details

      Description



      Name: iaR10016 Date: 09/24/2001


      JDK : JDK1.4.0-beta-b80
      JCK : JCK1.4-b09
      Platform[s] : RedHat Linux 6.2, RedHat Linux 7.1, Windows 2000
      switch/Mode : -client -Xmixed -Xfuture
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Failing Test : api/javax_imageio/stream/MemoryCacheImageOutputStream/index.html#read [read015]

      Test source location:
      =====================
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/javax_imageio/stream/MemoryCacheImageOutputStream/readTests.java

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail15/results/merlin/b80/jck14/linux/redhat7.1_smp_gnome_client_linux-24/workDir/api/javax_imageio/stream/MemoryCacheImageOutputStream/index_read.jtr

      How to reproduce:
      ====================
      Run the following script under RedHat Linux 7.1
      (probably, you need to change JCK and JAVA_HOME paths):
      --------Script START---------------------
      #!/bin/sh
      JAVA_HOME=/net/jdk/export/disk8/local.java/jdk1.4/linux-i386
      JCK=/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14
      export CLASSPATH="$JCK/classes:$JCK/javatest.jar"
      executeClass="javasoft.sqe.tests.api.javax.imageio.stream.MemoryCacheImageOutputStream.readTests -TestCaseID read015"
      $JAVA_HOME/bin/java -Xfuture ${executeClass}
      ---------Script END----------------------

      Test output:
      ============
      java.lang.IndexOutOfBoundsException: off < 0 || len < 0 || off + len > b.length!
              at javax.imageio.stream.MemoryCacheImageOutputStream.read(MemoryCacheImageOutputStream.java:73)
              at javasoft.sqe.tests.api.javax.imageio.stream.MemoryCacheImageOutputStream.readTests.read015(readTests.java:556)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
              at java.lang.reflect.Method.invoke(Method.java:313)
              at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:407)
              at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:203)
              at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:135)
              at javasoft.sqe.tests.api.javax.imageio.stream.MemoryCacheImageOutputStream.readTests.main(readTests.java:49)
      read015: Failed. Test case throws exception: java.lang.IndexOutOfBoundsException: off < 0 || len < 0 || off + len > b.length!
      STATUS:Failed.tests: 1; failed: 1; first test case failure: read015
      Test failed

      Specific Machine Info:
      =====================
      Hostname: Linux-24
      OS: RedHat 7.1

      Hostname: Linux-2
      OS: Windows 2000

      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: