I want to run multiple jacoco javaagents on the same target with tcp ports. This causes an issue due to a naming conflict.
My thought is to rename the jacoco_agent.jar
to jacoco2_agent.jar
including all the class names.
I already tried jarjar, but that failed. Attaching the renamed jar raises an error. The ClassNotFoundException: org.jacoco.agent.rt.internal_3570298.PreMain
occurs. Indicating that the naming did go wrong at some point.