Try to use the JARs we publish on Maven for every release.

> On 10. Apr 2025, at 18:41, Mehul Parmar <mehulparmari...@gmail.com> wrote:
> 
> Okay so Exec file format has not changed from 0.8.7 to 0.8.12, but since Java 
> 21 version support is required, so that's I will need to upgrade my report 
> generating Jacoco helper classes. In my JAVA microservice, we are not 
> directly using a JAR of 0.8.7 but Classes from jacoco repo for each 
> version(https://github.com/jacoco/jacoco/tree/master/org.jacoco.core/src/org/jacoco/core).
> 
> What would be a good to way to upgrade our Java microservice to a new version 
> of Jacoco, instead of importing these Jacoco classes for a new version 
> released every time?
> 
> 
> 
> On Thursday, 10 April 2025 at 20:26:13 UTC+5:30 Marc R. Hoffmann wrote:
>> 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 <mehulpa...@gmail.com <>> 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 <mehulpa...@gmail.com <>> 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 <hoff...@mountainminds.com 
>>>>> <>> wrote:
>>>>>> Dear Mehul,
>>>>>> 
>>>>>> please check the change log: 
>>>>>> https://www.jacoco.org/jacoco/trunk/doc/changes.html
>>>>>> 
>>>>>> Here you find for 0.8.7:
>>>>>> 
>>>>>> JaCoCo now officially supports Java 15 and 16 (GitHub #1094 
>>>>>> <https://github.com/jacoco/jacoco/issues/1094>, #1097 
>>>>>> <https://github.com/jacoco/jacoco/issues/1097>, #1176 
>>>>>> <https://github.com/jacoco/jacoco/issues/1176>).
>>>>>> Experimental support for Java 17 class files (GitHub #1132 
>>>>>> <https://github.com/jacoco/jacoco/issues/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 <mehulpa...@gmail.com <>> 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 jacoco+un...@googlegroups.com <>.
>>>>>>> To view this discussion visit 
>>>>>>> https://groups.google.com/d/msgid/jacoco/e89422fb-8ad3-4b27-ad2b-38c6c255d639n%40googlegroups.com
>>>>>>>  
>>>>>>> <https://groups.google.com/d/msgid/jacoco/e89422fb-8ad3-4b27-ad2b-38c6c255d639n%40googlegroups.com?utm_medium=email&utm_source=footer>.
>>>>>> 
>>>>>> 
>>>>>> -- 
>>>>>> 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 
>>>>>> jacoco+un...@googlegroups.com <>.
>>>>>> To view this discussion visit 
>>>>>> https://groups.google.com/d/msgid/jacoco/5AB5D1B1-ADB7-486A-87FC-8EF94281D604%40mountainminds.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/jacoco/5AB5D1B1-ADB7-486A-87FC-8EF94281D604%40mountainminds.com?utm_medium=email&utm_source=footer>.
>>>>> 
>>>>> 
>>>>> -- 
>>>>> 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 jacoco+un...@googlegroups.com <>.
>>>> 
>>>>> To view this discussion visit 
>>>>> https://groups.google.com/d/msgid/jacoco/CALVcNLZaVCZcPJKe7DVpaQrt5K2aMyMXRoz8pAn3k6Me0HRE3g%40mail.gmail.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/jacoco/CALVcNLZaVCZcPJKe7DVpaQrt5K2aMyMXRoz8pAn3k6Me0HRE3g%40mail.gmail.com?utm_medium=email&utm_source=footer>.
>>> 
>>> 
>>> -- 
>>> 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 jacoco+un...@googlegroups.com <>.
>> 
>>> To view this discussion visit 
>>> https://groups.google.com/d/msgid/jacoco/7b0e5284-97c1-4b49-900c-b3cce52f8578n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/jacoco/7b0e5284-97c1-4b49-900c-b3cce52f8578n%40googlegroups.com?utm_medium=email&utm_source=footer>.
> 
> 
> -- 
> 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 jacoco+unsubscr...@googlegroups.com 
> <mailto:jacoco+unsubscr...@googlegroups.com>.
> To view this discussion visit 
> https://groups.google.com/d/msgid/jacoco/bd6b0282-e7aa-4067-b000-48e8707e71e4n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jacoco/bd6b0282-e7aa-4067-b000-48e8707e71e4n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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 jacoco+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/jacoco/857980CE-954E-4D07-ADA0-0AB2810C390B%40mountainminds.com.

Reply via email to