dev-java/oracle-jdk-bin: Fix hardened + JAVA_PKG_STRICT breakage

We need to PaX mark javap before we run it on hardened systems.

Package-Manager: portage-2.2.20.1
This commit is contained in:
James Le Cuirot
2015-09-12 14:57:14 +01:00
parent 9b61292cd3
commit e4a5f04b1e
@@ -184,6 +184,9 @@ src_prepare() {
fi
if [[ -n ${JAVA_PKG_STRICT} ]] ; then
# Mark this binary early to run it now.
pax-mark Cm ./bin/javap
eqawarn "Ensure that this only calls trackJavaUsage(). If not, see bug #559936."
eqawarn
eqawarn "$(./bin/javap -J-Duser.home=${T} -c sun.misc.PostVMInitHook || die)"