JDK-6394302 : Test sun/nio/cs/CheckHistoricalNames.java failed on 142u12b1 but passed on previous 142u11b6.
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio.charsets
  • Affected Version: 1.4.2_12
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic,solaris_10
  • CPU: generic,x86
  • Submitted: 2006-03-06
  • Updated: 2011-02-16
  • Resolved: 2009-12-08
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.
Other
1.4.2_12 b02Fixed
Related Reports
Duplicate :  
Relates :  
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
SUGGESTED FIX Fix would be to remove UnicodeBig alias added to Charset UTF_16 in StandardCharset.java. ------- StandardCharsets.java ------- 61,62d60 < "unicode", < "UnicodeBig"
16-03-2006

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.
16-03-2006