My code uses reflection. Why does it fail when I execute it with JaCoCo?
To collect execution data JaCoCo instruments the classes under test which adds two members to the classes: A private static field
$jacocoDataand a private static method$jacocoInit(). Both members are marked as synthetic.Please change your code to ignore synthetic members. This is a good practice anyways as also the Java compiler creates synthetic members in certain situation.
--
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 jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/e50d58b3-53fa-4baa-90c1-be67d121831an%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/784D4DE6-A9E7-47CA-960B-A939F304F179%40mountainminds.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/784D4DE6-A9E7-47CA-960B-A939F304F179%40mountainminds.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/CAAcWZK8BT%3DTWu0%3D8C6xLqhxJWtnP_6tGQHR8QaXz7geyeQb%2BqQ%40mail.gmail.com.