简体   繁体   中英

Emma compatibility with Java version

Is Emma code coverage tool compatible with Java 7?

The documentation states:

According the the paper "EclEmma 2.0", Jacoco (that you looked) is supposed to work with Java 1.7. (see all Jacoco releases here) Java Runtime: As JaCoCo requires Java 1.5 the same minimum JRE is required for the Eclipse instance running EclEmma and the application under test. Note that this does not apply to the Java class files under test: Any class file version ranging from Java 1.0 to 1.7 is possible. The latest changes history mentions: Release 0.6.0 (2012/10/06) New Features Full support for Java 7 including INVOKEDYNAMIC as JaCoCo is now based on ASM 4.0 (GitHub #5). (since then, 0.6.1, 2012/12/19 has been released)

But I couldn't get it running with Java 7? Has anyone tried it?

eclEmma is not supported in Java 7 because it fails with java7 bytecode. Here is the eclEmma weblink.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM