You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2020/04/15 03:24:30 UTC

[groovy] 01/02: GROOVY-9505: Bump ASM_API_VERSION to Opcodes.ASM8 (closes #1222)

This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit 32a306d1ea035ed94fd9836fa220982c1c01a87f
Author: Kamil Jedrzejuk <ka...@gmail.com>
AuthorDate: Mon Apr 13 15:58:18 2020 +0200

    GROOVY-9505: Bump ASM_API_VERSION to Opcodes.ASM8 (closes #1222)
---
 src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java b/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java
index 375a87c..da25138 100644
--- a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java
+++ b/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java
@@ -122,7 +122,10 @@ public class CompilerConfiguration {
      */
     public static final String[] ALLOWED_JDKS = JDK_TO_BYTECODE_VERSION_MAP.keySet().toArray(new String[JDK_TO_BYTECODE_VERSION_MAP.size()]);
 
-    public static final int ASM_API_VERSION = Opcodes.ASM7;
+    /**
+    * The valid instruction sets.
+    */
+    public static final int ASM_API_VERSION = Opcodes.ASM8;
 
     /**
      * The default source encoding.