Closed ane closed 8 months ago
Hi there! I'm currently working on a project that aims to leverage the new features and improvements introduced in Java 21. I noticed that this package is having compatibility issues. Any information on the ETA for this issue? Thank you for your efforts in maintaining this package and supporting the community!
Seems Jacoco just turned off JDK 21 support in the current version (see PR https://github.com/jacoco/jacoco/pull/1433/files) due to an issue in Scala: https://github.com/jacoco/jacoco/issues/1431
We need to wait for a fix in a further version of Jacoco.
@DrSatyr JDK 21 is supported since JaCoCo 0.8.11 - see https://www.jacoco.org/jacoco/trunk/doc/changes.html
We need to wait for a fix in a further version of Jacoco
There is nothing to fix in JaCoCo, because https://github.com/jacoco/jacoco/issues/1431 is about bug in Scala compiler.
Seems Jacoco just turned off JDK 21 support in the current version (see PR https://github.com/jacoco/jacoco/pull/1433/files)
And https://github.com/jacoco/jacoco/pull/1433/files does not turn off JDK 21 support in JaCoCo.
What state about this issue?
I don't use this plugin or send PRs, but apparently I've been the person cutting a release, so I'm doing it now.
Release failed (https://github.com/sbt/sbt-jacoco/actions/runs/8250879513/job/22566565806), but something I can fix.
Java 21 LTS was released on September 19th, 2023. Support for it in JaCoCo was added in version 0.8.11, and looks like the version is already correct in sbt-jacoco, all that's missing is someone pushing a new version to Sonatype Nexus.