For some context, what JMockit does in this example test is to generate an 
implementation class of name "$Impl_PreparedStatement". This is not a 
java.lang.reflect.Proxy subclass.

It has a protection domain with a code source but no location 
(mock.getMockInstance().getClass().getProtectionDomain().getCodeSource().getLocation()
 is null), which should allow the JaCoCo coverage transformer to detect it as a 
dynamically generated class with no source, and therefore ignore it. So, I am 
not seeing how the instrumentation gets to happen; or maybe it's not the 
generated class that's getting instrumented; would need to do some debugging.

-- 
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 on the web visit 
https://groups.google.com/d/msgid/jacoco/c43aa303-71cc-4a19-b4bf-fc6bc872add9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to