Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
P4
-
Resolution: Fixed
-
Affects Version/s: openjdk8u
-
Fix Version/s: openjdk8u262
-
Component/s: infrastructure
-
Subcomponent:
-
Introduced In Build:b01
-
Introduced In Version:
-
Resolved In Build:b09
-
CPU:generic
-
OS:generic
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8248512 | openjdk8u272 | Andrew Hughes | P4 | Resolved | Fixed | b01 |
Description
Build of 8u262 with default setting of JFR disabled:
$ ll ~/builder/8u/images/j2sdk-image/bin/jfr
-rwxr-xr-x. 1 ahughes ahughes 10480 Jun 26 12:38 /home/ahughes/builder/8u/images/j2sdk-image/bin/jfr
$ ~/builder/8u/images/j2sdk-image/bin/jfr
Error: Could not find or load main class jdk.jfr.internal.tool.Main
Fix should just be a simple conditional, akin to the one that makes sure jfr.jar isn't installed.
$ ll ~/builder/8u/images/j2sdk-image/bin/jfr
-rwxr-xr-x. 1 ahughes ahughes 10480 Jun 26 12:38 /home/ahughes/builder/8u/images/j2sdk-image/bin/jfr
$ ~/builder/8u/images/j2sdk-image/bin/jfr
Error: Could not find or load main class jdk.jfr.internal.tool.Main
Fix should just be a simple conditional, akin to the one that makes sure jfr.jar isn't installed.
Attachments
Issue Links
- backported by
-
JDK-8248512 [8u262] Build installs jfr binary when JFR is disabled
-
- Resolved
-
- relates to
-
JDK-8205516 JFR tool
-
- Closed
-