changeset 48:18b0a143e1c2 jcov3.0-b06

CODETOOLS-7902338 Switch JCov to use asm 7.0 and support JDK 11/12
author lkuskov
date Thu, 25 Oct 2018 12:56:23 -0700
parents de986bc9529d
children 331e18f5cc82
files build/build.properties src/classes/com/sun/tdk/jcov/util/Utils.java
diffstat 2 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/build/build.properties	Thu Oct 25 12:45:04 2018 -0700
+++ b/build/build.properties	Thu Oct 25 12:56:23 2018 -0700
@@ -21,15 +21,15 @@
 # or visit www.oracle.com if you need additional information or have any
 # questions.
 
-# sha1 checksum for asm6 libraries
-asm.checksum = 1b6c4ff09ce03f3052429139c2a68e295cae6604
-asm.tree.checksum = 61570e046111559f38d4e0e580c005f75988c0a6
-asm.util.checksum = a9690730f92cc79eeadc20e400ebb41eccce10b1
+# sha1 checksum for asm libraries
+asm.checksum = 7804855908e0a5e4f98e3364fa537426d9f5329c
+asm.tree.checksum = 989937861cd5f953e38a049b468104732bbd0411
+asm.util.checksum = 5442cb58d07f1fce43b41db9eeff2273c2b10203
 
-# path to asm6 libraries
-asm.jar = asm-6.2.jar
-asm.tree.jar = asm-tree-6.2.jar
-asm.util.jar = asm-util-6.2.jar
+# path to asm libraries
+asm.jar = asm-7.0-beta.jar
+asm.tree.jar = asm-tree-7.0-beta.jar
+asm.util.jar = asm-util-7.0-beta.jar
 
 # path to javatest library (empty value allowed if you do not need jtobserver.jar)
 javatestjar = javatest.jar
--- a/src/classes/com/sun/tdk/jcov/util/Utils.java	Thu Oct 25 12:45:04 2018 -0700
+++ b/src/classes/com/sun/tdk/jcov/util/Utils.java	Thu Oct 25 12:56:23 2018 -0700
@@ -72,7 +72,7 @@
     /**
      * The ASM API version that should be used by jcov.
      */
-    public static final int ASM_API_VERSION = Opcodes.ASM7_EXPERIMENTAL;
+    public static final int ASM_API_VERSION = Opcodes.ASM7;
 
     private static Handler loggerHandler = null;
     private final static int ASCII_CHARS_TOTAL = 128;