It seems that some of the recent changes removed the coverage for static methods in interfaces like
package java.util.function;
@FunctionalInterface
public interface IntUnaryOperator {
static IntUnaryOperator identity() {
return t -> t;
}
}
The test code calling such method seems to be now ignored by JCov
Please see the screenshot of JCov report
package java.util.function;
@FunctionalInterface
public interface IntUnaryOperator {
static IntUnaryOperator identity() {
return t -> t;
}
}
The test code calling such method seems to be now ignored by JCov
Please see the screenshot of JCov report
- is cloned by
-
CODETOOLS-7902775 jcov seems to become confused by enum classes
-
- Resolved
-
- relates to
-
CODETOOLS-7902724 jcov ignores covariant method overriding while gathering a methods coverages
-
- Resolved
-