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

JFR: Incorrect error message when starting recording with missing .jfc file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 19
    • 17, 19
    • hotspot
    • jfr
    • b28

    Backports

      Description

        If a missing settings file (.jfc) is specified to JFR.start, XX:StartFlightRecording or jfr configure, the error message sometimes says the file can't be parsed. This is very confusing, especially if the filename is a typo.

        The message should say the file can't be found, which was always the case in releases prior to JDK 17.

        Attachments

          Issue Links

            Activity

              People

                egahlin Erik Gahlin
                egahlin Erik Gahlin
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: