Coldfusion 2018 update 5 creating issue with class files when adding jacocco.jar to JVM arguments
I am using JACOCO for code coverage report. It worked fine with CF10 earlier. But when configuring the same with CF2018 i am getting issues with CFC in the application.
The specified CFC DEMO could not be found.
Or
Class files is of invalid length.
The configuration is such as below.
CF2018 Update 5. Issue with both Java 10 and Java 11.
Tried with Jacoco 8.1-8.6
The jacocoagent.jar and jacococli.jar in “cfusion/lib/” folder.
Adding below line in jvm parameter in coldfusion admin under java & jvm setting:
-javaagent:{application.home}/lib/jacocoagent.jar=destfile={application.home}
/code_coverage/jacoco.exec,append=true,dumponexit=true,output=file
It will write jacoco.exec file inside \code_coverage\Report\ folder on server stop.
If someone could help me with a solution . Thanks in advance.
