Skip to content
Permalink
Browse files
GROOVY-10573: Support ASM JDK19 constants
  • Loading branch information
paulk-asert committed Apr 7, 2022
1 parent 0cb966a commit 2b7aa1c362c0f1ea83ab03722d1dcc4c88aa4be4
Showing 1 changed file with 4 additions and 1 deletion.
@@ -96,6 +96,8 @@ public class CompilerConfiguration {
public static final String JDK17 = "17";
/** This (<code>"18"</code>) is the value for targetBytecode to compile for a JDK 18. */
public static final String JDK18 = "18";
/** This (<code>"19"</code>) is the value for targetBytecode to compile for a JDK 19. */
public static final String JDK19 = "19";

/**
* This constant is for comparing targetBytecode to ensure it is set to JDK 1.5 or later.
@@ -129,7 +131,8 @@ public class CompilerConfiguration {
JDK15, Opcodes.V15,
JDK16, Opcodes.V16,
JDK17, Opcodes.V17,
JDK18, Opcodes.V18
JDK18, Opcodes.V18,
JDK19, Opcodes.V19
);

public static final String DEFAULT_TARGET_BYTECODE = defaultTargetBytecode();

0 comments on commit 2b7aa1c

Please sign in to comment.