You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2022/10/03 16:59:52 UTC
[groovy] branch GROOVY_4_0_X updated: GROOVY-10785: Bump asm to 9.4
This is an automated email from the ASF dual-hosted git repository.
sunlan pushed a commit to branch GROOVY_4_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/GROOVY_4_0_X by this push:
new 6c8f5999d1 GROOVY-10785: Bump asm to 9.4
6c8f5999d1 is described below
commit 6c8f5999d1dc7d71c5594c10efca1af6a2408ad6
Author: Daniel Sun <su...@apache.org>
AuthorDate: Tue Oct 4 00:59:34 2022 +0800
GROOVY-10785: Bump asm to 9.4
---
.../java/org/codehaus/groovy/control/CompilerConfiguration.java | 6 +++++-
versions.properties | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java b/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java
index 1a686cfc4e..9029e1f713 100644
--- a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java
+++ b/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java
@@ -99,6 +99,9 @@ public class CompilerConfiguration {
/** This (<code>"19"</code>) is the value for targetBytecode to compile for a JDK 19. */
public static final String JDK19 = "19";
+ /** This (<code>"20"</code>) is the value for targetBytecode to compile for a JDK 20. */
+ public static final String JDK20 = "20";
+
/**
* This constant is for comparing targetBytecode to ensure it is set to JDK 1.5 or later.
* @deprecated
@@ -132,7 +135,8 @@ public class CompilerConfiguration {
JDK16, Opcodes.V16,
JDK17, Opcodes.V17,
JDK18, Opcodes.V18,
- JDK19, Opcodes.V19
+ JDK19, Opcodes.V19,
+ JDK20, Opcodes.V20
);
public static final String DEFAULT_TARGET_BYTECODE = defaultTargetBytecode();
diff --git a/versions.properties b/versions.properties
index 36a0c4bf66..13e81e898e 100644
--- a/versions.properties
+++ b/versions.properties
@@ -18,7 +18,7 @@ asciidoctorj=2.5.2
asciidoctorDiagram=2.2.1
asciidoctorPdf=1.6.0
asciidoctorGroovyDsl=2.0.2
-asm=9.3
+asm=9.4
antlr4=4.9.0
bridger=1.6.Final
codenarc=3.0.0