Blame SOURCES/fsg.sh

d557d5
#!/bin/sh
d557d5
d557d5
echo "Further liberating OpenJDK..."
d557d5
d557d5
# PRx denotes bug x in the IcedTea bug database (http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=x)
d557d5
# Sx denotes bug x in the Sun bug database (http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=x)
d557d5
d557d5
# PR146/S6713083
d557d5
# Remove binaries
d557d5
rm -vf \
d557d5
  openjdk/jdk/test/sun/management/windows/revokeall.exe \
d557d5
  openjdk/jdk/test/sun/management/jmxremote/bootstrap/linux-i586/launcher \
d557d5
  openjdk/jdk/test/sun/management/jmxremote/bootstrap/solaris-sparc/launcher \
d557d5
  openjdk/jdk/test/sun/management/jmxremote/bootstrap/solaris-i586/launcher
d557d5
d557d5
rm -vf \
d557d5
  openjdk/jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/lib/linux-i586/libLauncher.so \
d557d5
  openjdk/jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/lib/solaris-i586/libLauncher.so \
d557d5
  openjdk/jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/lib/solaris-sparc/libLauncher.so \
d557d5
  openjdk/jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/lib/solaris-sparcv9/libLauncher.so \
d557d5
  openjdk/jdk/test/tools/launcher/lib/i386/lib32/lib32/liblibrary.so \
d557d5
  openjdk/jdk/test/tools/launcher/lib/i386/lib32/liblibrary.so \
d557d5
  openjdk/jdk/test/tools/launcher/lib/sparc/lib32/lib32/liblibrary.so \
d557d5
  openjdk/jdk/test/tools/launcher/lib/sparc/lib32/liblibrary.so \
d557d5
  openjdk/jdk/test/tools/launcher/lib/sparc/lib64/lib64/liblibrary.so \
d557d5
  openjdk/jdk/test/tools/launcher/lib/sparc/lib64/liblibrary.so
d557d5
d557d5
rm -vf \
d557d5
  openjdk/jdk/test/java/util/Locale/data/deflocale.exe \
d557d5
  openjdk/jdk/test/java/util/Locale/data/deflocale.jds3 \
d557d5
  openjdk/jdk/test/java/util/Locale/data/deflocale.rhel4 \
d557d5
  openjdk/jdk/test/java/util/Locale/data/deflocale.sh \
d557d5
  openjdk/jdk/test/java/util/Locale/data/deflocale.sol10 \
d557d5
  openjdk/jdk/test/java/util/Locale/data/deflocale.winvista \
d557d5
  openjdk/jdk/test/java/util/Locale/data/deflocale.winxp \
d557d5
d557d5
# Remove test sources with questionable license headers.
d557d5
rm -vf \
d557d5
   openjdk/jdk/test/java/util/ResourceBundle/Bug4168625Resource3.java \
d557d5
   openjdk/jdk/test/java/util/ResourceBundle/Bug4168625Resource3_en_IE.java \
d557d5
   openjdk/jdk/test/java/util/ResourceBundle/Bug4165815Test.java \
d557d5
   openjdk/jdk/test/java/util/ResourceBundle/Bug4177489_Resource_jf.java \
d557d5
   openjdk/jdk/test/java/util/ResourceBundle/Bug4168625Resource3_en_CA.java \
d557d5
   openjdk/jdk/test/java/util/ResourceBundle/Bug4168625Getter.java \
d557d5
   openjdk/jdk/test/java/util/ResourceBundle/Bug4177489Test.java \
d557d5
   openjdk/jdk/test/java/util/ResourceBundle/Bug4168625Resource.java \
d557d5
   openjdk/jdk/test/java/util/ResourceBundle/Bug4168625Resource2.java \
d557d5
   openjdk/jdk/test/java/util/ResourceBundle/Bug4168625Resource3_en_US.java \
d557d5
   openjdk/jdk/test/java/util/ResourceBundle/Bug4083270Test.java \
d557d5
   openjdk/jdk/test/java/util/ResourceBundle/Bug4168625Resource3_en.java \
d557d5
   openjdk/jdk/test/java/util/ResourceBundle/Bug4177489_Resource.java \
d557d5
   openjdk/jdk/test/java/util/ResourceBundle/Bug4168625Test.java \
d557d5
   openjdk/jdk/test/java/util/ResourceBundle/Bug4168625Resource2_en_US.java \
d557d5
   openjdk/jdk/test/java/util/ResourceBundle/Bug4168625Class.java \
d557d5
   openjdk/jdk/test/java/util/Locale/Bug4175998Test.java \
d557d5
   openjdk/jdk/test/java/util/ResourceBundle/RBTestFmwk.java \
d557d5
   openjdk/jdk/test/java/util/ResourceBundle/TestResource_fr.java \
d557d5
   openjdk/jdk/test/java/util/ResourceBundle/Bug4179766Resource.java \
d557d5
   openjdk/jdk/test/java/util/ResourceBundle/Bug4179766Getter.java \
d557d5
   openjdk/jdk/test/java/util/ResourceBundle/Bug4179766Class.java \
d557d5
   openjdk/jdk/test/java/util/ResourceBundle/TestResource.java \
d557d5
   openjdk/jdk/test/java/util/ResourceBundle/FakeTestResource.java \
d557d5
   openjdk/jdk/test/java/util/ResourceBundle/TestResource_de.java \
d557d5
   openjdk/jdk/test/java/util/ResourceBundle/TestBug4179766.java \
d557d5
   openjdk/jdk/test/java/util/ResourceBundle/TestResource_fr_CH.java \
d557d5
   openjdk/jdk/test/java/util/ResourceBundle/ResourceBundleTest.java \
d557d5
   openjdk/jdk/test/java/util/ResourceBundle/TestResource_it.java \
d557d5
   openjdk/jdk/test/java/util/Locale/PrintDefaultLocale.java \
d557d5
   openjdk/jdk/test/java/util/Locale/LocaleTest.java \
d557d5
   openjdk/jdk/test/java/util/Locale/LocaleTestFmwk.java \
d557d5
   openjdk/jdk/test/java/util/Locale/Bug4184873Test.java \
d557d5
   openjdk/jdk/test/sun/text/resources/LocaleDataTest.java
d557d5
d557d5
# Remove J2DBench sources, some of which have questionable license
d557d5
# headers.
d557d5
rm -rvf \
d557d5
  openjdk/jdk/src/share/demo/java2d/J2DBench
d557d5
d557d5
# BEGIN Debian/Ubuntu additions
d557d5
d557d5
# binary files
d557d5
rm -vf \
d557d5
  openjdk/jdk/test/sun/net/idn/nfscis.spp
d557d5
d557d5
# TODO
d557d5
#$ find openjdk -name '*.jar' -o -name '*.class'|grep -v test
d557d5
d557d5
# PR140, S6695776
d557d5
# Also see patches/icedtea-jscheme.patch
d557d5
rm -rvf openjdk/corba/src/share/classes/com/sun/tools/corba/se/logutil/lib
d557d5
rm -rvf openjdk/corba/src/share/classes/com/sun/tools/corba/se/logutil/scripts
d557d5
d557d5
# PR139, S6710791
d557d5
rm -vf \
d557d5
  openjdk/hotspot/agent/kk/src/share/lib/maf-1_0.jar \
d557d5
  openjdk/hotspot/agent/kk/src/share/lib/jlfgr-1_0.jar \
d557d5
d557d5
# END Debian/Ubuntu additions
d557d5
d557d5
echo "Removing support for proprietary SNMP plug"
d557d5
rm -rvf openjdk/jdk/src/share/classes/sun/management/snmp
d557d5
rm -rvf openjdk/jdk/src/share/classes/com/sun/jmx/snmp
d557d5
rm -rvf openjdk/jdk/test/com/sun/jmx/snmp
d557d5
d557d5
echo "Removing registration tests"
d557d5
rm -rvf openjdk/jdk/test/com/sun/servicetag
d557d5
d557d5
echo "Removing EC source code we don't build"
0a1101
rm -rvf openjdk/jdk/src/share/native/sun/security/ec/impl
79d80c
79d80c
# Requires IcedTea patch PR2124 (not included)
79d80c
echo "Syncing EC list with NSS"
79d80c
patch -Np0 < pr2124.patch