-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
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
Support java 17 runtime when create function project #3311
Conversation
417758c
to
c7b7bf9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you for the quick turnaround @Flanker32
@@ -45,7 +45,7 @@ for (const version of [FuncVersion.v2, FuncVersion.v3, FuncVersion.v4]) { | |||
const appName: string = 'javaApp'; | |||
const javaBaseInputs: (TestInput | string | RegExp)[] = [TestInput.UseDefaultValue, TestInput.UseDefaultValue, TestInput.UseDefaultValue, TestInput.UseDefaultValue, appName]; | |||
if (version !== FuncVersion.v2) { // v2 doesn't support picking a java version | |||
javaBaseInputs.unshift(/11/); | |||
javaBaseInputs.unshift(/8/); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did this get changed to an earlier version of Java?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As some of the test environment uses java 8 as default java version, we add java version validation in this pr and will not provide java 11 as an option in this case
Add new Java 17 runtime in function creation steps, fixes #3245