Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Java agents aren't (really) supported #528
The spec says this:
I.e., the Java agent must see the classpath! It actually means more than that. The agent and the application share a class loader so they have access to the same static fields etc.
This results in a failure whenever a Java agent tries to access a class that is contained on the classpath, but not in the agent JAR.
A related problem is that the spec says:
But this isn't implemented.
referenced this issue
Oct 23, 2014
Actually, what happens is that the master context is used by the agent, and not the application's context, which is created by
This points the way to a possible fix: set up the isolated context in a java agent that is always passed first to the JVM.