United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6933622 Duplicate class files in rt.jar and charsets.jar
JDK-6933622 : Duplicate class files in rt.jar and charsets.jar

Details
Type:
Bug
Submit Date:
2010-03-10
Status:
Resolved
Updated Date:
2011-05-25
Project Name:
JDK
Resolved Date:
2010-07-21
Component:
infrastructure
OS:
generic
Sub-Component:
build
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Backport:
Relates:
Relates:
Relates:
Relates:
Relates:

Sub Tasks

Description
Regression test
	sun/nio/cs/Test4200310.sh

fails since JDK 7 b20 (up to b85) because a number of classes from sun/nio/cs/ext/ are present both in rt.jar and charsets.jar.

                                    

Comments
SUGGESTED FIX

I think this is all that is needed, but it needs to be verified.

diff --git a/make/common/Release.gmk b/make/common/Release.gmk
--- a/make/common/Release.gmk
+++ b/make/common/Release.gmk
@@ -548,6 +548,7 @@ NOT_RT_JAR_LIST = $(ABS_TEMPDIR)/not_rt_
        $(ECHO) "#\n" >> $@
        $(ECHO) "# List of subdirectories not in include in rt.jar" >> $@
        $(ECHO) "# Directories must contain trailing '/'." >> $@
+       $(ECHO) "sun/nio/cs/ext/" >> $@
        $(ECHO) "com/sun/javadoc/" >> $@
        $(ECHO) "com/sun/jdi/" >> $@
        $(ECHO) "com/sun/jarsigner/" >> $@
                                     
2010-06-14
EVALUATION

See suggested fix.
                                     
2010-06-15
EVALUATION

http://hg.openjdk.java.net/jdk7/tl/jdk/rev/848e69fcf2f3
                                     
2010-06-23



Hardware and Software, Engineered to Work Together