[RFR] [8u262] JDK-8248399: Build installs jfr binary when JFR is disabled
Andrew Hughes
gnu.andrew at redhat.com
Fri Jun 26 14:25:15 UTC 2020
Bug: https://bugs.openjdk.java.net/browse/JDK-8248399
Webrev: https://cr.openjdk.java.net/~andrew/openjdk8/8248399/webrev.01/
At present, the build still creates and installs a jfr binary even when
JFR is disabled. Without jfr.jar, it is useless:
$ ~/builder/8u/images/j2sdk-image/bin/jfr
Error: Could not find or load main class jdk.jfr.internal.tool.Main
The fix is a simple conditional around the jfr launcher, as was added
for the profiles in CopyFiles.gmk, but missed in the backport of
JDK-8205516.
This should go into 8u262 before freeze at end of today, so I'll flag
with jdk8u-critical-request once reviewed.
Thanks,
--
Andrew :)
Senior Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04 C5A0 CFDA 0F9B 3596 4222
More information about the jdk8u-dev
mailing list