Uploaded image for project: 'Java Mission Control'
  1. Java Mission Control
  2. JMC-6887

Agent Instrumentation fails silently if method descriptors don't match

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.0.0
    • Component/s: docs
    • Labels:
      None

      Description

      Currently if the agent is given an xml file with a valid method/class name but an incorrect descriptor (while still being valid for parsing purposes), the agent will proceed with instrumentation, creating and injecting the event classes but they will never be emitted. We should at least give a warning that the method descriptor is incorrect rather than failing silently and proceeding.

      Reproducer:

      probe.xml

      Reproducer.java

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jmatsuoka Joshua Matsuoka
              Reporter:
              jmatsuoka Joshua Matsuoka
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: