[jbossts-issues] [JBoss JIRA] (JBTM-1082) Emma not working on JDK7

Jonathan Halliday (JIRA) jira-events at lists.jboss.org
Fri Jan 11 16:45:08 EST 2013


    [ https://issues.jboss.org/browse/JBTM-1082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745415#comment-12745415 ] 

Jonathan Halliday commented on JBTM-1082:
-----------------------------------------

Come off it, the emma jdk6 binaries are fine. java goes to great lengths to ensure that binaries built with older jdks still run on newer ones.  The error trace is not from emma code. It's from code that emma has instrumented. The changes emma is making to the arjuna code don't pass the newer verifier.

http://www.oracle.com/technetwork/java/javase/jdk7-relnotes-418459.html

It's not worth patching emma, which is largely defunct, to emit the more recent bytecode. Move to jacoco instead.
                
> Emma not working on JDK7
> ------------------------
>
>                 Key: JBTM-1082
>                 URL: https://issues.jboss.org/browse/JBTM-1082
>             Project: JBoss Transaction Manager
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: Build System, Testing
>            Reporter: Tom Jenkinson
>            Assignee: Ondřej Chaloupka
>
> -Demma.enabled=true does not work on JDK7
> Testcase: testNullInput took 0.006 sec
> 	Caused an ERROR
> Expecting a stackmap frame at branch target 11 in method com.arjuna.common.util.propertyservice.StringPropertyReplacer.<init>()V at offset 4
> java.lang.VerifyError: Expecting a stackmap frame at branch target 11 in method com.arjuna.common.util.propertyservice.StringPropertyReplacer.<init>()V at offset 4
> 	at com.arjuna.common.tests.propertyservice.StringPropertyReplacerUnitTestCase.testNullInput(StringPropertyReplacerUnitTestCase.java:86)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jbossts-issues mailing list