Skip to content

Commit c72e3af

Browse files
committed
charsets.jar cannot be optimized at this time for both OpenJ9 / Hotspot.
1 parent 866323f commit c72e3af

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

slim-java.sh

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -132,12 +132,6 @@ function jre_files() {
132132
# Exclude the zOS specific charsets
133133
function charset_files() {
134134

135-
# This optimization is only for Eclipse OpenJ9 at this time.
136-
vm_impl=$(get_vm_impl);
137-
if [ "${vm_impl}" != "OpenJ9" ]; then
138-
return;
139-
fi
140-
141135
# 2.3 Special treat for removing ZOS specific charsets
142136
echo -n "INFO: Trimming charsets..."
143137
mkdir -p ${root}/charsets_class
@@ -284,7 +278,10 @@ pushd ${target} >/dev/null
284278
jre_lib_files
285279

286280
# Remove IBM zOS charset files.
287-
charset_files
281+
# This needs extra code in sun/nio/cs/ext/ExtendedCharsets.class to
282+
# ignore the charset files that are removed. Disabling for now until
283+
# this gets added in the upstream openjdk project.
284+
# charset_files
288285

289286
# Trim unneeded rt.jar classes.
290287
rt_jar_classes

0 commit comments

Comments
 (0)