Hi *,
one of my projects contains an interface with some default methods.
public interface ExpressionVisitor<I, O> {
default O handleWithException(Object expression) {
throw new UnsupportedOperationException("unsupported");
}
default O visit(Node expression, I input) {
return handleWithException(expression);
}
}
The visit method is called directly in some tests an is never overridden.
But only the handleWithException coverage can be found, not the coverage of
the visit method. In the Intellij coverage tool I can see the coverage for
visit.
Is this a known limitation of jacoco?
Thank you in advance.
--
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/2d72316c-f8f6-42f1-8281-fa22bc724b39n%40googlegroups.com.