[
https://issues.jboss.org/browse/AS7-3304?page=com.atlassian.jira.plugin.s...
]
Ondrej Zizka commented on AS7-3304:
-----------------------------------
This could be fixed in the latest JaCoCo, see
http://www.eclemma.org/jacoco/trunk/doc/changes.html
"Remove class file attributes with invalid code offsets caused by other byte code
processing tools to avoid verifier errors (Trac #196)."
Problem with IronJacamar .jar's
-------------------------------
Key: AS7-3304
URL:
https://issues.jboss.org/browse/AS7-3304
Project: Application Server 7
Issue Type: Bug
Components: Test Suite
Affects Versions: 7.1.0.CR1
Environment: Linux, Java Sun 1.6.26 x64
Reporter: Ondrej Zizka
Assignee: Jesper Pedersen
Attachments: Emma-ZipException-Jacamar.txt
When I use various tools to manipulate AS jars, this happens with IronJacamar jars:
Caused by: java.util.zip.ZipException: invalid entry compressed size (expected 576 but
got 577 bytes)
at java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:206)
at
com.vladium.emma.instr.InstrProcessorST.writeZipEntry(InstrProcessorST.java:838)
at
com.vladium.emma.instr.InstrProcessorST$EntryWriteJob.run(InstrProcessorST.java:905)
at
com.vladium.emma.instr.InstrProcessorST.drainJobQueue(InstrProcessorST.java:943)
at
com.vladium.emma.instr.InstrProcessorST.handleArchiveEnd(InstrProcessorST.java:353)
... 5 more
How are they packaged? Some special buggy tool?
It prevents me from preparing coverage reports, both Emma and JaCoco are affected.
STR:
1) Checkout and build AS7 master
2) wget --no-check-certificate
https://repository.jboss.org/nexus/content/groups/developer/emma/emma/2.1...
-O emma.jar
3)
{code:bash}
for i in `find $AS_DIR/modules/org/jboss/ -name '*.jar'`; do
echo "============ $i"
java -cp emma.jar emma instr -outmode overwrite -merge yes -instrpath $i;
done
{code}
Only IronJacamar jars cause problems, others are fine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira