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

Agent Instrumentation fails to emit events when the instrumented class has a different/custom ClassLoader

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 8.0.0
    • None
    • Mission Control Core
    • None
    • JMC 8.0 Sprint 7 - Last Enh

    Description

      When a probe is requested for a class with a different or custom ClassLoader from the one visible to the agent, the agent will inject the event class and metadata but will never emit the events. I've attached a reproducer recreating this behavior. This may be a limitation of the agent, in which case it would make sense to make a note of this on the wiki or in the readme.

      Main.java Main.java probe.xml

      Attachments

        1. Main.java
          4 kB
        2. Reproducer.java
          0.4 kB
        3. probe.xml
          1 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: