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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8.0.0
    • Affects Version/s: None
    • Component/s: Mission Control Core
    • None
    • JMC 8.0 Sprint 7 - Last Enh

      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

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

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

              Created:
              Updated:
              Resolved: