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

Add fuzzy matching for log levels and tags when parsing -Xlog

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b04

      Description

      Perform fuzzy matching of log tags and levels in order to give better error messages when -Xlog argument parsing fails.

      For example, with "-Xlog:loads", the error message could be "Invalid level 'loads'. Did you mean 'load'?"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mlarsson Marcus Larsson (Inactive)
                Reporter:
                mlarsson Marcus Larsson (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: