You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently initialized a new CloudFormation resource using the Java Plugin, and noticed it auto-generated config/code for Java8.
Since Lambda recently added Java11 runtime support, are there any instructions on how to generate for java 11, or a migration guide?
I am hoping there aren't many changes needed, but want to confirm if there are any plans or already supported solutions for getting set up with Java 11.
The text was updated successfully, but these errors were encountered:
It's not so "recently" anymore, and Java 8 is basically past end-of-life (even though Corretto might not be), so developers most likely wouldn't want to use that old version.
I did try to build with java11, but I got an error trying to provision the resource in a stack:
HandlerWrapper has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Does this mean Cloudformation runtime only supports registry resource on Java8?
EDIT: finally figured it out. There is a generated, undocumented and hidden (why?) file .rpdk-config that specifies the runtime version and that supports java11.
I recently initialized a new CloudFormation resource using the Java Plugin, and noticed it auto-generated config/code for Java8.
Since Lambda recently added Java11 runtime support, are there any instructions on how to generate for java 11, or a migration guide?
I am hoping there aren't many changes needed, but want to confirm if there are any plans or already supported solutions for getting set up with Java 11.
The text was updated successfully, but these errors were encountered: