view fsg.sh.in @ 2691:c848b93a8598 default tip

PR3833: Update tapsets following JDK-8015774, which removes '_heap' 2021-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org> PR3833: Update tapsets following JDK-8015774, which removes '_heap' * NEWS: Updated. * tapset/jstack.stp.in: Replace hardcoded libjvm.so paths from Severin's patch with @ABS_SERVER_LIBJVM_SO@. 2020-08-03 Severin Gehwolf <sgehwolf@redhat.com> PR3833: Update tapsets following JDK-8015774, which removes '_heap' * tapset/jstack.stp.in: Adapt to work with _heaps, following JDK-8015774.
author Andrew John Hughes <gnu_andrew@member.fsf.org>
date Mon, 22 Feb 2021 02:08:05 +0000
parents dcab611ca0d6
children
line wrap: on
line source

#!/bin/sh

echo "Further liberating OpenJDK..."

# PRx denotes bug x in the IcedTea bug database (http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=x)
# Sx denotes bug x in the Sun/Oracle bug database (https://bugs.openjdk.java.net/browse/JDK-X)

echo "Removing support for proprietary SNMP plug"
rm -rvf openjdk/jdk/src/share/classes/sun/management/snmp
rm -rvf openjdk/jdk/src/share/classes/com/sun/jmx/snmp
rm -rvf openjdk/jdk/test/com/sun/jmx/snmp

echo "Removing EC source code we don't build"
rm -rvf openjdk/jdk/src/share/native/sun/security/ec/impl

if test "x@CURVES@" != "xall"; then
  echo "Removing non-NSS ECC curves"
  rm -vf openjdk/jdk/src/share/native/sun/security/ec/impl/ec2.h
  rm -vf openjdk/jdk/src/share/native/sun/security/ec/impl/ec2_163.c
  rm -vf openjdk/jdk/src/share/native/sun/security/ec/impl/ec2_193.c
  rm -vf openjdk/jdk/src/share/native/sun/security/ec/impl/ec2_233.c
  rm -vf openjdk/jdk/src/share/native/sun/security/ec/impl/ec2_aff.c
  rm -vf openjdk/jdk/src/share/native/sun/security/ec/impl/ec2_mont.c
  rm -vf openjdk/jdk/src/share/native/sun/security/ec/impl/ecp_192.c
  rm -vf openjdk/jdk/src/share/native/sun/security/ec/impl/ecp_224.c
  PATCH_FILE="@abs_top_srcdir@/patches/pr3802-@CURVES@curve.patch"
  echo "Applying ${PATCH_FILE}..."
  patch -Np0 < ${PATCH_FILE}
fi