JDK-6231620 : DanishTest.java from regression workspace is failing for 1.5.0_XX
  • Type: Bug
  • Component: globalization
  • Sub-Component: translation
  • Affected Version: 5.0u3
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2005-02-22
  • Updated: 2010-04-05
  • Resolved: 2005-03-17
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
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

Comments
EVALUATION This is a duplicate of 5008498. ###@###.### 2005-03-17 19:26:10 GMT
17-03-2005