Skip to content

Commit

Permalink
java 1.8 AL1 is deprecated (#1692)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromevdl committed Aug 2, 2024
1 parent ddb226f commit b64dd49
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ private Builder() {

private JavaRuntime mapRuntimeVersion(String environmentVariableName) {
String javaVersion = System.getenv(environmentVariableName); // must be set in GitHub actions
JavaRuntime ret = null;
JavaRuntime ret;
if (javaVersion == null) {
throw new IllegalArgumentException(environmentVariableName + " is not set");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import software.amazon.awscdk.services.lambda.Runtime;

public enum JavaRuntime {
JAVA8("java8", Runtime.JAVA_8, "1.8"),
JAVA8AL2("java8.al2", Runtime.JAVA_8_CORRETTO, "1.8"),
JAVA11("java11", Runtime.JAVA_11, "11"),
JAVA17("java17", Runtime.JAVA_17, "17"),
Expand Down

0 comments on commit b64dd49

Please sign in to comment.