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

kestrel I fails: api/java_text/CollationElementIterator/index.html#ColltnElmtIte

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.3.0
    • 1.3.0
    • core-libs
    • kestrel
    • generic, sparc
    • generic, solaris_2.5
    • Verified

       tao.zhang@eng 1999-06-29

      In order to reproduce this bug, please run the attached shell script file.
      Please keep this file for future reference.
      Test case can be found in:
      /net/tapas/export1/testexec/JCK-122a/tests/api/java_text/CollationElementIterator
      JDK version: Kestrel I
      JCK version: 1.2.2

      Test:api/java_text/CollationElementIterator/index.html#ColltnElmtIter

      Output from the jtr file:
      #Test Results
      #Wed Jun 23 17:09:17 PDT 1999
      description=file:/net/tapas/export1/testexec/JCK-122a/tests/api/java_text/CollationElementIterator/index.html#ColltnElmtIter
      testsuite=/net/tapas/export1/testexec/JCK-122a/tests
      execStatus=Failed. tests: 16; passed: 12; failed: 4; first test case failure: CollationElementIterator0007
      end=Wed Jun 23 17:09:17 PDT 1999
      work=/export0/results/13i/i3pupkin122anative/api/java_text/CollationElementIterator
      executeClass=javasoft.sqe.tests.api.java.text.CollationElementIterator.ColltnElmtIterTests
      status=Failed. tests: 16; passed: 12; failed: 4; first test case failure: CollationElementIterator0007
      keywords=positive runtime text
      start=Wed Jun 23 17:09:13 PDT 1999
      title=CollationElementIterator tests
      javatestVersion=JT_2.0_zn
      id=ColltnElmtIter
      file=/net/tapas/export1/testexec/JCK-122a/tests/api/java_text/CollationElementIterator/index.html
      sections=testExecute testExecute
      environment=jck-runtime-solaris
      source=ColltnElmtIterTests.java ../RuleBasedCollator/Rules.java

      test: api/java_text/CollationElementIterator/index.html#ColltnElmtIter
      script: javasoft.sqe.javatest.lib.JCKScript -runtime
      Executing test class...
      command: javasoft.sqe.javatest.lib.ExecJCKTestOtherJVMCmd CLASSPATH=/export0/results/13i/i3pupkin122anative/classes:/net/tapas/export1/testexec/JCK-122a/tests/../classes:/net/tapas/export1/testexec/JCK-122a/javatest.jar:/net/tapas/export0/jdk13i/solaris/lib/tools.jar:/net/tapas/export0/jdk13i/solaris/jre/lib/rt.jar:/net/tapas/export0/jdk13i/solaris/jre/lib/i18n.jar DISPLAY=pupkin:0.0 HOME=/home/smitha LD_LIBRARY_PATH=/net/tapas/export1/testexec/JCK-122a/tests/../lib:/net/tapas/export1/testexec/JCK-122a/tests/../lib_solaris: /net/tapas/export0/jdk13i/solaris/bin/java -native -Xfuture javasoft.sqe.tests.api.java.text.CollationElementIterator.ColltnElmtIterTests
      ----------ref:testExecute(10/125)----------
      rule= < c, C < d; D
      string=
      offset= -1
      new offset= 0
      rule= < c, C < d; D
      string=
      begin= 7
      end= 7
      offset= 6
      new offset= 7
      ----------log:testExecute(35/2555)----------
      CollationElementIterator0001: Passed. OKAY
      CollationElementIterator0002: Passed. OKAY
      CollationElementIterator0004: Passed. OKAY
      CollationElementIterator0005: Passed. OKAY
      CollationElementIterator0006: Passed. OKAY
      CollationElementIterator0007: Failed. expected IllegalArgumentException
      java.lang.IllegalArgumentException: Invalid index
              at java.text.StringCharacterIterator.setIndex(StringCharacterIterator.java, Compiled Code)
              at java.text.Normalizer.setOffset(Normalizer.java, Compiled Code)
              at java.text.CollationElementIterator.setOffset(CollationElementIterator.java, Compiled Code)
              at javasoft.sqe.tests.api.java.text.CollationElementIterator.ColltnElmtIterTests.CollationElementIterator0008(ColltnElmtIterTests.java, Compiled Code)
              at java.lang.reflect.Method.invoke(Native Method)
              at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java, Compiled Code)
              at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java, Compiled Code)
              at javasoft.sqe.tests.api.java.text.CollationElementIterator.ColltnElmtIterTests.main(ColltnElmtIterTests.java, Compiled Code)
      CollationElementIterator0008: Failed. Test case throws exception: java.lang.IllegalArgumentException: Invalid index
      CollationElementIterator0009: Passed. OKAY
      CollationElementIterator0010: Failed. expected IllegalArgumentException
      java.lang.IllegalArgumentException: Invalid index
              at java.text.StringCharacterIterator.setIndex(StringCharacterIterator.java, Compiled Code)
              at java.text.Normalizer.setOffset(Normalizer.java, Compiled Code)
              at java.text.CollationElementIterator.setOffset(CollationElementIterator.java, Compiled Code)
              at javasoft.sqe.tests.api.java.text.CollationElementIterator.ColltnElmtIterTests.CollationElementIterator0011(ColltnElmtIterTests.java, Compiled Code)
              at java.lang.reflect.Method.invoke(Native Method)
              at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java, Compiled Code)
              at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java, Compiled Code)
              at javasoft.sqe.tests.api.java.text.CollationElementIterator.ColltnElmtIterTests.main(ColltnElmtIterTests.java, Compiled Code)
      CollationElementIterator0011: Failed. Test case throws exception: java.lang.IllegalArgumentException: Invalid index
      CollationElementIterator0012: Passed. OKAY
      CollationElementIterator1001: Passed. OKAY
      CollationElementIterator1002: Passed. OKAY
      CollationElementIterator1003: Passed. OKAY
      CollationElementIterator2001: Passed. OKAY
      CollationElementIterator2002: Passed. OKAY
      STATUS:Failed. tests: 16; passed: 12; failed: 4; first test case failure: CollationElementIterator0007
      command result: Failed. tests: 16; passed: 12; failed: 4; first test case failure: CollationElementIterator0007
      test result: Failed. tests: 16; passed: 12; failed: 4; first test case failure: CollationElementIterator0007

            rgillamsunw Richard Gillam (Inactive)
            ttzhang Tao Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: