Noticed coverage loss for javax.tools.ForwardingFileObject for some of its methods, please see attached screenshots
Found out that an explicit invocation of say method delete() which coverage is not recorded any more happens approximately the following way
public void delete0001() {
return new TestRunner(){
protected void execute() { testedInstance.delete(); }
}.executeTest();
}
It's interesting that method FileObject::toUri() which is implemented by ForwardingFileObject and called by the tests the same way was not affected
Found out that an explicit invocation of say method delete() which coverage is not recorded any more happens approximately the following way
public void delete0001() {
return new TestRunner(){
protected void execute() { testedInstance.delete(); }
}.executeTest();
}
It's interesting that method FileObject::toUri() which is implemented by ForwardingFileObject and called by the tests the same way was not affected
- is cloned by
-
CODETOOLS-7902780 jcov seems unexpectedly start to miss coverage for LinkPermission
-
- Resolved
-
- relates to
-
CODETOOLS-7902724 jcov ignores covariant method overriding while gathering a methods coverages
-
- Resolved
-