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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8.0.0
    • None
    • docs
    • None

      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

        1. probe.xml
          1 kB
          Joshua Matsuoka
        2. Reproducer.java
          0.7 kB
          Joshua Matsuoka

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

              Created:
              Updated:
              Resolved: