Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8248399

[8u262] Build installs jfr binary when JFR is disabled

    Details

    • Subcomponent:
    • Introduced In Build:
      b01
    • Introduced In Version:
    • Resolved In Build:
      b09
    • CPU:
      generic
    • OS:
      generic

      Backports

        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.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  andrew Andrew Hughes
                  Reporter:
                  andrew Andrew Hughes
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: