6964313: Find sun/nio/cs/ext issue with CreateSymbols, then move sun/nio/cs/ext to charset.jar
Removed the duplicate sun.nio.cs.ext entries from rt.jar and moved X11 charsets into charsets.jar Reviewed-by: ohair
This commit is contained in:
parent
7dcb52915b
commit
98f8ed01aa
@ -571,6 +571,16 @@ $(NOT_RT_JAR_LIST): FRC
|
||||
$(ECHO) "META-INF/services/com.sun.tools.xjc.Plugin" >> $@
|
||||
$(ECHO) "com/sun/tools/" >> $@
|
||||
$(ECHO) "sun/jvmstat/" >> $@
|
||||
$(ECHO) "sun/nio/cs/ext/" >> $@
|
||||
$(ECHO) "sun/awt/HKSCS.class" >> $@
|
||||
$(ECHO) "sun/awt/motif/X11GB2312$Decoder.class" >> $@
|
||||
$(ECHO) "sun/awt/motif/X11GB2312$Encoder.class" >> $@
|
||||
$(ECHO) "sun/awt/motif/X11GB2312.class" >> $@
|
||||
$(ECHO) "sun/awt/motif/X11GBK$Encoder.class" >> $@
|
||||
$(ECHO) "sun/awt/motif/X11GBK.class" >> $@
|
||||
$(ECHO) "sun/awt/motif/X11KSC5601$Decoder.class" >> $@
|
||||
$(ECHO) "sun/awt/motif/X11KSC5601$Encoder.class" >> $@
|
||||
$(ECHO) "sun/awt/motif/X11KSC5601.class" >> $@
|
||||
$(ECHO) "sun/rmi/rmic/" >> $@
|
||||
$(ECHO) "sun/tools/asm/" >> $@
|
||||
$(ECHO) "sun/tools/java/" >> $@
|
||||
|
@ -57,6 +57,25 @@ CHARSETS_JAR = $(LIBDIR)/charsets.jar
|
||||
# extcs
|
||||
FILES_genout_extcs = $(FILES_gen_extcs:%.java=$(GENSRCDIR)/%.java)
|
||||
|
||||
#
|
||||
# These sun.awt charsets use sun/nio/cs/ext charsets that only exist
|
||||
# in JDK7 charsets.jar, which causes problem when build the symbol
|
||||
# table for rt.jar in Release.gmk. They are now removed from the
|
||||
# rt.jar when building jdk/jre image (in Release.gmk), so add them
|
||||
# into charsets.jar here
|
||||
#
|
||||
ifeq ($(PLATFORM), windows)
|
||||
FILES_src += \
|
||||
sun/awt/HKSCS.java
|
||||
else
|
||||
# Solaris/Linux
|
||||
FILES_src += \
|
||||
sun/awt/HKSCS.java \
|
||||
sun/awt/motif/X11GB2312.java \
|
||||
sun/awt/motif/X11GBK.java \
|
||||
sun/awt/motif/X11KSC5601.java
|
||||
endif # PLATFORM
|
||||
|
||||
#
|
||||
# Rules
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user