Skip to content
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

Added support for java version 17 in cli #645

Merged
merged 2 commits into from
Feb 28, 2022
Merged

Conversation

rishabhsri18
Copy link
Contributor

No description provided.

@@ -81,6 +83,8 @@ func (h *JavaLangHelper) RunFromImage() (string, error) {
return fmt.Sprintf("fnproject/fn-java-fdk:%s", fdkVersion), nil
} else if h.version == "11" {
return fmt.Sprintf("fnproject/fn-java-fdk:jre11-%s", fdkVersion), nil
} else if h.version == "17" {
return fmt.Sprintf("fnproject/fn-java-fdk:jre17-%s", fdkVersion), nil
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's a good time to stop naming something as JRE, this concept is no longer valid for Java since JDK 11.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What can it named as we are having a concept of creating two images. One for the build image and other for the run image so it is not exactly the jre but the run image for the fdk

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your suggestion. We are going to pick this up in future https://jira.oci.oraclecorp.com/browse/FAAS-7797

@rishabhsri18 rishabhsri18 merged commit 88c8464 into master Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants