Jacoco Plugin - No Coverage for Synthetic Methods

Hi All,

My team recently switched to Jacoco for code coverage. It works fine in Eclipse (EclEmma), but in Gradle we get 0% code coverage on classes that use Java 8 lambdas. Switching from lambdas to double colons fixed the problem. We are applying the latest version of jacoco as well:

jacoco {
toolVersion = “”

Any ideas why we aren’t getting coverage?


Update… We found the problem to be specifically due to using non static predicates.

Also, the .exec file shows the classes without coverage having 80% of their probes executed.