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

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


The following commit(s) were added to refs/heads/master by this push:
     new ba32b3c  upgraded ASM to 7.1, added Java 13 to CompilerConfiguration 
(closes #887)
ba32b3c is described below

commit ba32b3cd4528ef29f9ea38ac1494dd1ba47276e3
Author: Keegan Witt <keeganw...@gmail.com>
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 46f5095..bee81da 100644
--- a/build.gradle
+++ b/build.gradle
@@ -142,7 +142,7 @@ configurations {
 
 ext {
     antVersion = '1.10.5'
-    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 34dc138..9e185ca 100644
--- a/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java
+++ b/src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java
@@ -76,6 +76,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.
@@ -103,7 +105,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];

Reply via email to