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

JCK1.5-runtime api/java_util/Vector/index.html#ToString fails

XMLWordPrintable

    • x86, sparc
    • linux, solaris_10, windows_2003



      Name: mmR10223 Date: 09/10/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b18, JDK1.4.2-b28
      JCK : JCK1.5-runtime (b03)
      Platform[s] : all
      switch/Mode : default
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling test[s]:
              api/java_util/Vector/index.html#ToString [Vector2037]
              api/java_util/Vector/index.html#misc [Vector2116]

      These tests were excluded from the JCK1.5 (b02).
      Its also fail using JDK1.4.2-28 with the error message:
      ---------
      java.lang.NoSuchMethodError: java.util.Vector.iterator()Ljava/lang/SimpleIterator;
      at javasoft.sqe.tests.api.java.util.Vector.TestVector.iterator(TestVector.java:14)
      at java.util.AbstractCollection.toString(AbstractCollection.java:451)
      at java.util.Vector.toString(Vector.java:945)
      at javasoft.sqe.tests.api.java.util.Vector.ToStringTests.Vector2037(ToStringTests.java:48)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399) at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
      at javasoft.sqe.tests.api.java.util.Vector.ToStringTests.main(ToStringTests.java:24)
      Vector2037: Failed. Test case throws exception: java.lang.NoSuchMethodError: java.util.Vector.iterator()Ljava/lang/SimpleIterator;
      ----------


      Test source location:
      =====================
      /java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/java_util/Vector/ToStringTests.java
      /java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/java_util/Vector/miscTests.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b18/jck15/linux/suse8.0_gnome_server_linux-2/workDir/api/java_util/Vector/index_ToString.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b18/jck15/linux/suse8.0_gnome_server_linux-2/workDir/api/java_util/Vector/index_misc.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)
       
      --- script start ---
      #!/bin/bash

      JCK="/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15"
      JDK="/java/re/jdk/1.5.0/promoted/latest/binaries/solaris-sparc"
      CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
       
      $JDK/bin/java $switches -cp $CLASSPATH javasoft.sqe.tests.api.java.util.Vector.ToStringTests -TestCaseID Vector2037

      #$JDK/bin/java $switches -cp $CLASSPATH #javasoft.sqe.tests.api.java.util.Vector.miscTests #-TestCaseID Vector2116


      --- script end ---

      Test output:
      ============
      java.lang.StackOverflowError
      at java.util.AbstractList.iterator(AbstractList.java:56)
      at javasoft.sqe.tests.api.java.util.Vector.TestVector.iterator(TestVector.java:14)
      at java.util.AbstractList.iterator(AbstractList.java:56)
      at javasoft.sqe.tests.api.java.util.Vector.TestVector.iterator(TestVector.java:14)
      at java.util.AbstractList.iterator(AbstractList.java:56)
      at javasoft.sqe.tests.api.java.util.Vector.TestVector.iterator(TestVector.java:14)
      at java.util.AbstractList.iterator(AbstractList.java:56)
      at javasoft.sqe.tests.api.java.util.Vector.TestVector.iterator(TestVector.java:14)
      .....
      at javasoft.sqe.tests.api.java.util.Vector.TestVector.iterator(TestVector.java:14)
      at java.util.AbstractList.iterator(AbstractList.java:56)
      at javasoft.sqe.tests.api.java.util.Vector.TestVector.iterator(TestVector.java:14)
      at java.util.AbstractList.iterator(AbstractList.java:56)
      at javasoft.sqe.tests.api.java.util.Vector.TestVector.iterator(TestVector.java:14)
      at java.util.AbstractList.iterator(AbstractList.java:56)
      at javasoft.sqe.tests.api.java.util.Vector.TestVector.iterator(TestVector.java:14)
      at java.util.AbstractList.iterator(AbstractList.java:56)
      at javasoft.sqe.tests.api.java.util.Vector.TestVector.iterator(TestVector.java:14)
      at java.util.AbstractList.iterator(AbstractList.java:56)
      at javasoft.sqe.tests.api.java.util.Vector.TestVector.iterator(TestVector.java:14)
      at java.util.AbstractList.iterator(AbstractList.java:56)
      at javasoft.sqe.tests.api.java.util.Vector.TestVector.iterator(TestVector.java:14)
      at java.util.AbstractList.iterator(AbstractList.java:56)
      at javasoft.sqe.tests.api.java.util.Vector.TestVector.iterator(TestVector.java:14)
      Vector2037: Failed. Test case throws exception: java.lang.StackOverflowError
      STATUS:Failed.test cases: 1; all failed; first test case failure: Vector2037

      Specific machine info:
      ======================
      Hostname: linux-19
      OS: Windows 2003
      Hostname: linux-2
      OS: Suse Linux 8.2 (GNOME2)
      Hostname: linux-8
      OS: Solaris 10 (sparc) (GNOME)



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

            gafter Neal Gafter (Inactive)
            mmvsunw Mmv Mmv (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: