java.lang.VerifyError: Expecting a stackmap frame at branch target blah...  
Oracle does provide a way around the problem by using the -XX:UseSplitVerifier VM option. I added it as an argument to the surefire-plugin configuration in my maven pom file.
 <plugin>  
    <groupId>org.apache.maven.plugins</groupId>  
    <artifactId>maven-surefire-plugin</artifactId>  
    <version>${surefire.plugin.version}</version>  
    <configuration>  
      <argLine>-XX:-UseSplitVerifier</argLine>  
    </configuration>    
 </plugin>  
 
It looks like the Cobertura development team are working on Version 2. I see github comments that indicate support for Java 7. Coming soon I guess.
ReplyDeleteThanks for your blog... It helped to solve issue mentioned here...
ReplyDeleteThis comment has been removed by the author.
ReplyDelete