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

    • Bug
    • Resolution: Fixed
    • P4
    • 8.0.0
    • None
    • docs
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: