JDK-4809949 : REGRESSION:sun.io classes are duplicated between rt.jar and charsets.jar
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio.charsets
  • Affected Version: 1.4.0_04
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2003-01-29
  • Updated: 2013-08-05
  • Resolved: 2003-03-07
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.0_04 04Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Description
sun/io/CharToByteIS0212_Solaris.class  are duplicated in rt.jar and charsets.jar file.

This's regression from 1.4.0_03 to 1.4.0_04 b01 release.

Fix for bug#4765370 in 1.4.0_04 b1 release might cause this regression.

Run the following testcase (test.sh file) with the jdk location as a input parameter
-------------------
#!/bin/ksh

TESTJAVA=$1

rm -f class-list

$TESTJAVA/bin/jar -tf "$TESTJAVA/jre/lib/rt.jar" > class-list 2>&1
$TESTJAVA/bin/jar -tf "$TESTJAVA/jre/lib/charsets.jar" >> class-list 2>&1
$TESTJAVA/bin/jar -tf "$TESTJAVA/jre/lib/ext/localedata.jar" >> class-list 2>&1
duplicates=`grep '\.class$' class-list | sort | uniq -d`

#rm -f class-list
if [ "$duplicates" != "" ]; then
   echo FAILED: $duplicates are duplicated between rt.jar, charsets.jar, and loc
aledata.jar
   exit 1
fi

exit 0
-------------------

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: 1.4.0_04 FIXED IN: 1.4.0_04 INTEGRATED IN: 1.4.0_04
14-06-2004

EVALUATION will fix in 1.4.0_04 final release ###@###.### 2003-01-30
30-01-2003