I fixed it by changing the project's Java compiler. It had JRE 1.8.0_66 and now it's JDK 1.8.0_91. Although not OpenJDK, but Oracle JDK.
-- 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/4b2d4236-bdaf-4df4-a9a1-5fe0b19fc7fc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
