United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6394302 Test sun/nio/cs/CheckHistoricalNames.java failed on 142u12b1 but passed on previous 142u11b6.
JDK-6394302 : Test sun/nio/cs/CheckHistoricalNames.java failed on 142u12b1 but passed on previous 142u11b6.

Details
Type:
Bug
Submit Date:
2006-03-06
Status:
Closed
Updated Date:
2011-02-16
Project Name:
JDK
Resolved Date:
2009-12-08
Component:
core-libs
OS:
generic,solaris_10
Sub-Component:
java.nio.charsets
CPU:
x86,generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
1.4.2_12
Fixed Versions:
1.4.2_12 (b02)

Related Reports
Backport:
Duplicate:
Relates:

Sub Tasks

Description
Test sun/nio/cs/CheckHistoricalNames.java failed on 142u12b1 but passed on previous 142u11b6.
===========================================
How to reproduce:
To reproduce run JTreg with appropriate JDK (1.4.2_11b2)
The workspace is placed on /net/latte.ireland/deployment1/regtests/142u12/
the JTreg is placed on /net/latte.ireland/deployment1/sqe-tools2.1.6fcs
to run please follow instructions http://jqa.ireland/procedures/test_procedures/141_test_procedures/RegressionTestExecution.html
And -automatic -bug:4513767 flags to that script)
===========================================
used system:
                          Solaris 10 3/05 s10_74L2a X86
           Copyright 2005 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                            Assembled 22 January 2005
SunOS tezro 5.10 Generic i86pc i386 i86pc
===========================================
regression WS for 1.4.2 from shiva.sfbay got 1st Mar'06 was used
===========================================
See the test execution results in attached tar.gz file

bash-3.00$ cat check_HistoricalNames_12b2/report/summary.txt sun/nio/cs/CheckHistoricalNames.java  Failed. Execution failed: `main' threw exception: java.lang.Exception: Failed canonical names : mismatch for UnicodeBig - expected UnicodeBig, got UTF-16
bash-3.00$ cat check_HistoricalNames_11b6/report/summary.txt
sun/nio/cs/CheckHistoricalNames.java  Passed. Execution successful

                                    

Comments
EVALUATION

I can confirm that this is a side effect of fix to bug 6292322.

This has happened because of a change wherein UnicodeBig has been added as alias to canonical name UTF-16 in StandardCharsets.java.
                                     
2006-03-16
SUGGESTED FIX

Fix would be to remove UnicodeBig alias added to Charset UTF_16 in StandardCharset.java.

------- StandardCharsets.java -------
61,62d60
<                   "unicode",
<                   "UnicodeBig"
                                     
2006-03-16



Hardware and Software, Engineered to Work Together