We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, Java 21 preview is provided according to this comment. It would be nice to support it via LocalStack and start testing it.
I think java21-preview should be added here
So, the code below should work.
var createFunctionRequest = CreateFunctionRequest.builder() .functionName(fnName) .runtime("java21-preview") .role("arn:aws:iam::123456789012:role/irrelevant") .packageType(PackageType.ZIP) .code(FunctionCode.builder() .zipFile(SdkBytes.fromByteArray(FileUtils.readFileToByteArray(new File(jar)))) .build()) .timeout(10) .handler("org.springframework.cloud.function.adapter.aws.FunctionInvoker::handleRequest") .environment(Environment.builder().variables(envVars).build()) .build();
It can be tested with this java project
Originally posted by @eddumelendez in localstack/localstack#9330
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is there an existing issue for this?
Enhancement description
Currently, Java 21 preview is provided according to this comment. It would be nice to support it via LocalStack and start testing it.
🧑💻 Implementation
I think java21-preview should be added here
So, the code below should work.
Anything else?
It can be tested with this java project
Originally posted by @eddumelendez in localstack/localstack#9330
The text was updated successfully, but these errors were encountered: