-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
5.0u3
-
generic
-
generic
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
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
- duplicates
-
JDK-5008498 A regresion test java/text/Collator/DanishTest.java fails.
-
- Resolved
-
- relates to
-
JDK-4930708 (test bugs) Some regression tests fails due to L10N fixes
-
- Resolved
-
-
JDK-4174436 Correct Norwegian and Danish sort orders
-
- Resolved
-