Bug#747027: emma does not work with Java 7 bytecode

tony mancill tmancill at debian.org
Sun May 4 23:29:57 UTC 2014


On 05/04/2014 01:16 PM, Julian Andres Klode wrote:
> Package: libemma-java
> Version: 2.0.5312+dfsg-4
> Severity: grave
> 
> Running emma on bytecode generated by openjdk-7's javac fails, but it
> works fine on Java code produced by openjdk 6. JDK 6 will not be part
> of jessie.

Hi Julian,

This appears to be a general issue with emma, which hasn't been updated
since 2005.  If you compile with JDK7 and the target set to 1.6, it
works as expected.

$ javac -version
javac 1.7.0_55
$ javac -source 1.6 -target 1.6 Test.java
$ java -jar /usr/share/java/emma.jar -cp . Test
EMMA: writing [txt] report to [/tmp/coverage.txt] ...

So I believe the question is whether emma provides any value to users if
it only supports source and target 1.6.  If it doesn't, then we should
request its removal.  Otherwise, I think the severity of this bug should
be decreased.

Thank,
tony

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 880 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20140504/c0ab3baa/attachment.sig>


More information about the pkg-java-maintainers mailing list