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:19:01 UTC
[groovy] branch danielsun/jdk20 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 danielsun/jdk20
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/danielsun/jdk20 by this push:
new 1a6355953c GROOVY-10785: Bump asm to 9.4
1a6355953c is described below
commit 1a6355953c4f48e457422cd08d2263c61f53d0c8
Author: Daniel Sun <su...@apache.org>
AuthorDate: Tue Oct 4 00:18:41 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 92ba6100d0..d2f8a9dfa4 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";
+
/**
* JDK version to bytecode version mapping.
*/
@@ -111,7 +114,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 813c49cae1..8fe64f8311 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