Hi,

JaCoCo 0.7.5 supports Java 8. There are limitations regarding the the class file size, as JaCoCo adds additional code to trace execution at runtime.

Regarding the other issue: If you only see Tomcat classes this is likely that the agent is attached to the wrong JVM. As far as I know Tomcat uses a separate JVM to launch the actual container. Please consult the Tomcat project how to set JVM properties properly for the actual container.

Also note that JaCoCo need a proper JVM shutdown to write-out execution data.

Regards,
-marc

On 2015-10-28 15:38, bharath tumma wrote:
I am facing an error while server startup with jacoco 0.7.5 setup &
jdk 1.8.51 at instrumenting class.
The exception - IllegalClassFormatException has been thrown and the
root cause is - RunTimeException saying "Class FIle too Large".
Here, this is generated class through our framework. Hence, i cannot
split/divide it into multiple classes.

To avoid this exception, I have used option - excludes in catalina.bat
file. This resulted in no exception but generated jacoco.exec file
doesn't contain projects sources related information. It is covering
only tomcat server related files inforamtion. Even if i generate
report by using this exec, there is 0% coverage for project sources.

So can you please assist me to get rid of class size issue. Is there
any issue with jacoco against jdk 8. Thanks for help.

 --
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/695f05a6-655d-48db-8f0c-b6f69d9bd6ff%40googlegroups.com
[1].
For more options, visit https://groups.google.com/d/optout [2].


Links:
------
[1]
https://groups.google.com/d/msgid/jacoco/695f05a6-655d-48db-8f0c-b6f69d9bd6ff%40googlegroups.com?utm_medium=email&utm_source=footer
[2] https://groups.google.com/d/optout

--
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/1bf7a684e49d3ca407bbb3a18ce11aec%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to