This is an automated email from the ASF dual-hosted git repository. paulk pushed a commit to branch GROOVY_2_5_X in repository https://gitbox.apache.org/repos/asf/groovy.git
commit 26f8641dcc61cb8ef5caee28be7c0d706109761e Author: Keegan Witt <[email protected]> AuthorDate: Sun Mar 3 21:41:17 2019 -0500 upgraded ASM to 7.1, added Java 13 to CompilerConfiguration (closes #887) --- build.gradle | 2 +- src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 5a45425..f73e3f1 100644 --- a/build.gradle +++ b/build.gradle @@ -142,7 +142,7 @@ configurations { ext { antVersion = '1.9.13' - asmVersion = '7.0' + asmVersion = '7.1' antlrVersion = '2.7.7' bridgerVersion = '1.5.Final' coberturaVersion = '1.9.4.1' diff --git a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java b/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java index 8825d0c..7d4d103 100644 --- a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java +++ b/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java @@ -72,6 +72,8 @@ public class CompilerConfiguration { public static final String JDK11 = "11"; /** This (<code>"12"</code>) is the value for targetBytecode to compile for a JDK 12. **/ public static final String JDK12 = "12"; + /** This (<code>"13"</code>) is the value for targetBytecode to compile for a JDK 13. **/ + public static final String JDK13 = "13"; /** * This constant is for comparing targetBytecode to ensure it is set to JDK 1.5 or later. @@ -97,7 +99,8 @@ public class CompilerConfiguration { JDK9, Opcodes.V9, JDK10, Opcodes.V10, JDK11, Opcodes.V11, - JDK12, Opcodes.V12 + JDK12, Opcodes.V12, + JDK13, Opcodes.V13 ); private static final String[] EMPTY_STRING_ARRAY = new String[0];
