I have packaged my own jacocoagent.jar. After packaging, the package name 
for the internal package is org.jacoco.agent.rt.internal instead of the 
official org.jacoco.agent.rt.internal_aeaf9ab.

I have a scenario where I use Arthas to perform retransform, so I used the 
official jacococli.jar for offline instrumentation. However, after 
instrumentation, the introduced package is 
org.jacoco.agent.rt.internal_aeaf9ab instead of 
org.jacoco.agent.rt.internal, which results in a NoClassDefFoundError or 
ClassNotFoundException for the class org.jacoco.agent[...]Offline.

I also checked the similar issue in the JaCoCo FAQ 
https://www.jacoco.org/jacoco/trunk/doc/faq.html, but it does not address 
my specific problem.

How can I handle this situation? How can I ensure that the fully qualified 
name of the Offline class introduced by offline instrumentation is 
org.jacoco.agent.rt.internal.Offline instead of 
org.jacoco.agent.rt.internal_aeaf9ab.Offline?

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/jacoco/c1cb6e2a-ab4d-4a80-a529-0b9419b20407n%40googlegroups.com.

Reply via email to