this is my source code :
public class App {
public static void main(String[] args) throws InterruptedException {
System.out.println( "invoke invoke main" );
while( true ) { Thread.currentThread().sleep( 1000 );
System.out.println( new Date() );
}
}
}
and this is the class I got by using instrument command
public class App {
public App() {
boolean[] var2 = (boolean[])"$jacocoData";
super();
var2[0] = true;
}
public static void main(String[] args) throws InterruptedException {
boolean[] var2 = (boolean[])"$jacocoData";
System.out.println("invoke invoke main");
var2[1] = true;
while(true) {
Thread.currentThread();
Thread.sleep(1000L);
var2[2] = true;
System.out.println(new Date());
var2[3] = true;
}
}
}
why the static field $jacocoData and init method $jacocoInit() are not in
the class file?
this is the stackoverflow link
https://stackoverflow.com/staging-ground/79195734
--
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/2f4e5fbb-eda0-4fc5-b0e3-dda5e574d46cn%40googlegroups.com.