Version : 8u102-b14.1 Package: openjdk-8-jre-headless Tags: patch
Reproducer: Installation of openjdk-8-jre-headless on i386 or sparc. Patch: Warning occurs due to the usage of -XX:PermSize=128m with java during postinst script of jre-headless package and PermSize; support was removed in 8.0 diff --git a/debian/JB-jre-headless.postinst.in b/debian/JB-jre-headless.postinst.in index 1f86eeb..0d4bd5b 100644 --- a/debian/JB-jre-headless.postinst.in +++ b/debian/JB-jre-headless.postinst.in @@ -110,7 +110,7 @@ configure) case @archdir@ in i386|sparc) rm -f $basedir/jre/lib/@archdir@/client/classes.jsa log=$(tempfile) - if ! $basedir/bin/java -client -Xshare:dump -XX:PermSize=128m > $log; then + if ! $basedir/bin/java -client -Xshare:dump > $log; then cat >&2 $log rm -f $log # this may fail on some machines/configurations, just ignore it. Verified the fix, and it works fine. Thanks, Avinash UB HPE