No, this will not work. JaCoCo 0.8.7 does not support Java 21 class files. Also not for report generation.

On 10. Apr 2025, at 12:13, Mehul Parmar <[email protected]> wrote:

I have a JacocoAgent running in server model with Jacoco 0.8.12 JAR in a Testenvironment. The exec created in the Testenv I am downloading through a Java service and trying to generate reports from 0.8.7 Jacoco Jar and JDK 21 classes. Will this setup work and if not where is the issue since exec format has not changed from 0.8.7 to 0.8.12, right?

On Thursday, 10 April 2025 at 11:18:18 UTC+5:30 Marc R. Hoffmann wrote:
Exactly!

On 10. Apr 2025, at 07:22, Mehul Parmar <[email protected]> wrote:


Hello,
I am little bit confused. Class files are supported back till 1 but for older jacoco versions right? Does it mean 0.8.11 and above will support creating reports from java 21 classes?

Regards
Mehul Kumar Parmar

On Thu, Apr 10, 2025, 1:38 AM Marc Hoffmann <[email protected]> wrote:
Dear Mehul,


Here you find for 0.8.7:

  • JaCoCo now officially supports Java 15 and 16 (GitHub #1094#1097#1176).
  • Experimental support for Java 17 class files (GitHub #1132).

JaCoCo 0.8.7 was released in 2021, Java 21 was released 2 years later…

The minimum required Java runtime version for all JaCoCo releases is Java 5. Class files are supported back to Java 1.0.

Regards,
-marc


On 8. Apr 2025, at 08:16, Mehul Parmar <[email protected]> wrote:

Does Jacoco 0.8.7 JAR supports JDK 21 classes. Do we have a table where you guys maintain backward comparibility of JARs and JDk version.

--
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 visit https://groups.google.com/d/msgid/jacoco/e89422fb-8ad3-4b27-ad2b-38c6c255d639n%40googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jacoco/XABRy87SFJU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/jacoco/5AB5D1B1-ADB7-486A-87FC-8EF94281D604%40mountainminds.com.

--
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].

--
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 visit https://groups.google.com/d/msgid/jacoco/7b0e5284-97c1-4b49-900c-b3cce52f8578n%40googlegroups.com.

--
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 visit https://groups.google.com/d/msgid/jacoco/55DB0DA7-6579-4A10-84BC-0C22915509BF%40mountainminds.com.

Reply via email to