I'm writing an application that uses a java.lang.instrument agent (using the JVM
parameter "-javaagent:....." in the project properties). The application depends
the byte code modifications that are done by this agent.
I can run and debug the application without problems.
But when I try to run a JUnit test the javaagent is not loaded.
This is not currently possible. A request for making it possible is already
recorded - see issue #46298.
*** This issue has been marked as a duplicate of 46298 ***