[arquillian-issues] [JBoss JIRA] (ARQ-1387) Support code coverage for jar/war deployed by ZipImporter
Joe Punk (JIRA)
issues at jboss.org
Wed May 14 10:17:57 EDT 2014
[ https://issues.jboss.org/browse/ARQ-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12967823#comment-12967823 ]
Joe Punk commented on ARQ-1387:
-------------------------------
If you have ever installed dcevm, it hacks it's jar into your JDK installlation(for example: jdk1.7.0_25\jre\lib\ext\dcevm.jar). This jar contains interface org.objectweb.asm.ClassVisitor which is used while your integration test is run(or build?) instead of using org.objectweb.asm.ClassVisitor from org.jacoco:org.jacoco.core:0.7.1.201405082137.
Maybe it's not your problem but I have solved this exception with removing dcevm.jar from jdk's folder.
> Support code coverage for jar/war deployed by ZipImporter
> ---------------------------------------------------------
>
> Key: ARQ-1387
> URL: https://issues.jboss.org/browse/ARQ-1387
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Extension - Jacoco
> Affects Versions: jacoco_1.0.0.Alpha5
> Environment: jdk 1.7, org.jacoco.core.0.6.2.20130203000
> Reporter: Andy Ma
> Assignee: Aslak Knutsen
> Labels: arquillian-jacoco, jacoco
> Fix For: jacoco_1.0.0.Alpha6
>
>
> If deployed with ZipImporter like:
> ShrinkWrap.create(ZipImporter.class, name)
> .importFrom(new File(MODULE_PATH + "/" + name)).as(WebArchive.class);
> the code coverage of imported archive can not be reported.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
More information about the arquillian-issues
mailing list