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

DanishTest.java from regression workspace is failing for 1.5.0_XX

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 5.0u3
    • globalization

      DanishTest.java from tiger regression workspace is failing for 1.5.0_xx whereas passing for 1.4.2_xx on all platforms.

      How to reproduce:
      ================
      copy CollatorTest.java DanishTest.java from child workspace /net/urts071.india/export6/testSuites/Regression/workspace_150/test/java/text/Collator
      or from parent workspace
      /net/shiva.sfbay/test/MyTestArea/JDK1.5.0/workspace_150/test/java/text/Collator

      Compile both the files and execute DanishTest using 1.5.0_xx:
      c:/export/updates/jdks/jdk1.5.0_03/bin/java -version
      java version "1.5.0_03-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-ea-b04)
      Java HotSpot(TM) Client VM (build 1.5.0_03-ea-b04, mixed mode)

      $ c:/export/updates/jdks/jdk1.5.0_03/bin/java DanishTest
      DanishTest {
        TestPrimary Passed
        TestTertiary {
          Collation Test failed! Source = SS Target = result should be
      java.lang.RuntimeException: Collation Test failed! Source = SS Target = result should be

              at CollatorTest.err(CollatorTest.java:253)
              at CollatorTest.errln(CollatorTest.java:258)
              at CollatorTest.doTest(CollatorTest.java:224)
              at DanishTest.TestTertiary(DanishTest.java:141)
              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:585)
              at CollatorTest.run(CollatorTest.java:156)
              at DanishTest.main(DanishTest.java:25)
          Uncaught exception thrown in test method TestTertiary
      Exception in thread "main" java.lang.RuntimeException: Uncaught exception thrown in test method T
      Tertiary

              at CollatorTest.err(CollatorTest.java:253)
              at CollatorTest.errln(CollatorTest.java:258)
              at CollatorTest.run(CollatorTest.java:163)
              at DanishTest.main(DanishTest.java:25)

      Compile both the files and Execute DanishTest.java using 1.4.2_XX:

      $ c:/export/updates/jdks/j2sdk1.4.2_07/bin/java -version
      java version "1.4.2_07"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-b05)
      Java HotSpot(TM) Client VM (build 1.4.2_07-b05, mixed mode)

      $ c:/export/updates/jdks/j2sdk1.4.2_07/bin/java DanishTest
      DanishTest {
        TestPrimary Passed
        TestTertiary Passed
      } Passed






      ###@###.### 2005-2-22 13:05:37 GMT

            kcolfersunw Kieran Colfer (Inactive)
            skantesunw Srilatha Kante (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: