ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [2/3] ant-ivy git commit: Emma code coverage bytecode manipulation leads to errors in "Strict mode" Java 7. Make it lenient for now.
Date Mon, 29 May 2017 12:57:26 GMT
Emma code coverage bytecode manipulation leads to errors in "Strict mode" Java 7. Make it lenient
for now.


Project: http://git-wip-us.apache.org/repos/asf/ant-ivy/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant-ivy/commit/d8de43a6
Tree: http://git-wip-us.apache.org/repos/asf/ant-ivy/tree/d8de43a6
Diff: http://git-wip-us.apache.org/repos/asf/ant-ivy/diff/d8de43a6

Branch: refs/heads/master
Commit: d8de43a6a3d5fc423514af3c0e817b3347ae48df
Parents: 04d7c69
Author: Jaikiran Pai <jaikiran.pai@gmail.com>
Authored: Mon May 29 17:58:49 2017 +0530
Committer: Jaikiran Pai <jaikiran.pai@gmail.com>
Committed: Mon May 29 17:59:12 2017 +0530

----------------------------------------------------------------------
 build.xml | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant-ivy/blob/d8de43a6/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 89beaae..54064c3 100644
--- a/build.xml
+++ b/build.xml
@@ -467,6 +467,10 @@
             </syspropertyset>
             <jvmarg value="-Demma.coverage.out.file=${coverage.dir}/coverage.emma"/>
             <jvmarg value="-Demma.coverage.out.merge=true"/>
+            <!-- Added so that the bytecode generated by Emma (in Java 7) isn't verified
in "Strict" mode
+                which fails due to Emma's inability to create Java 7 bytecode. Can be removed
if/when we
+                move to a different code coverage tool -->
+            <jvmarg value="-noverify"/>
 
             <!-- Added this to test IVY-65 -->
             <jvmarg value="-Duser.region=TR"/>


Mime
View raw message