New Features
- JaCoCo now officially supports Java 21 (GitHub #1520).
- Experimental support for Java 22 class files (GitHub #1479).
- Part of bytecode generated by the Java compilers for exhaustive switch expressions is filtered out during generation of report (GitHub #1472).
- Part of bytecode generated by the Java compilers for record patterns is filtered out during generation of report (GitHub #1473).
Fixed bugs
- Instrumentation should not cause
VerifyError
when the last local variable of method parameters is overridden in the method body to store a value of type long or double (GitHub #893). - Restore exec file compatibility with versions from 0.7.5 to 0.8.8 in case of class files with zero line numbers (GitHub #1492).
Non-functional Changes
- jacoco-maven-plugin now requires at least Java 8 (GitHub #1466, #1468).
- JaCoCo build now requires at least Maven 3.5.4 (GitHub #1467).
- Maven 3.9.2 should not produce warnings for jacoco-maven-plugin (GitHub #1468).
- JaCoCo build now requires JDK 17 (GitHub #1482).
- JaCoCo now depends on ASM 9.6 (GitHub #1518).