JDK-6329225 : [BI] Regresssion test:java/text/BreakIterator/BreakIteratorTest.java Failed on Thai locale
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.text
  • Affected Version: 1.4.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_10
  • CPU: x86
  • Submitted: 2005-09-27
  • Updated: 2011-02-16
  • Resolved: 2006-06-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7Resolved
Related Reports
Duplicate :  
Description
Build: 1.5.0-U6-b02
Platform: Solaris10_AMD64(JDS3 desktop)
Locale: Thai 

Regression script used: reg_tiger_06_build02_i18n.sh
Testsuite: gs15UR-b03.tar
tests picked from: /net/koori.sfbay/onestop/jdk/1.5.0_06/promoted/ea/b02/ws/j2se/test

On executing the regression tests, the testcase  java/text/BreakIterator/BreakIteratorTest.java failed. 

The following exception is thrown:
-----------------------
java.lang.RuntimeException: Uncaught exception thrown in test method TestBug4214367

	at BITestFmwk.err(BITestFmwk.java:173)
	at BITestFmwk.errln(BITestFmwk.java:182)
	at BITestFmwk.run(BITestFmwk.java:126)
	at BreakIteratorTest.main(BreakIteratorTest.java:58)
	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 com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:595)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Uncaught exception thrown in test method TestBug4214367
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Uncaught exception thrown in test method TestBug4214367
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Uncaught exception thrown in test method TestBug4214367
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Uncaught exception thrown in test method TestBug4214367
-------------------

Please find the attached work files(.jtr) for this testcase.

Please Note:
1)This testcase was executed on same platform for other locales such as 
ar_SA.UTF8,  he_IL,  hi_IN.UTF8 :on these locales it was PASS
2)tested thai encodings were
th_TH.UTF8, th_TH.ISO8859-11 ,th_TH.TIS620 : FAIL.

The testcase is failing for WordBreak-issue of bug 4214367 when executed on thai locale.

Comments
EVALUATION I close this bug as a duplicate of 4743558.
15-06-2006

EVALUATION Since this regression test always fails on Thai locale after DictionaryBasedBreakIterator was introduced, we need to take a close look at why it fails in next release. So commit it to Dolphin.
01-10-2005

EVALUATION The test fails since the TestBug4214367 is written for testing some bug under japanese only. The whole issue why this test fails is on th_xx locale, the WorkBreakIterator and LineBreakIterator is DictionaryBasedBreakIterator. The test was written mainly for normal RuleBasedBreakIterator. At this point, to avoid the regression test failure, we can disable the test for DictionaryBasedBreakIterator.
30-09-2005