Skip to content

Change Java version setting to 17 #2819

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

Merged
merged 2 commits into from
Nov 15, 2021
Merged

Change Java version setting to 17 #2819

merged 2 commits into from
Nov 15, 2021

Conversation

aitorfi
Copy link
Contributor

@aitorfi aitorfi commented Nov 12, 2021

Describe your change:

I changed the compiler target and source version to Java 17 to solve errors caused because of the use of advanced features such as records and lambda expressions in switch statements.

References

Checklist:

  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized.
  • I know that pull requests will not be merged if they fail the automated tests.

@siriak
Copy link
Member

siriak commented Nov 13, 2021

Everyone, what do you think? Should we stick to using the latest version of Java or an older one?

Copy link
Member

@siriak siriak left a comment

Choose a reason for hiding this comment

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

Seems like there are no objections, thanks for updating the version!

@siriak siriak merged commit dee4fc7 into TheAlgorithms:master Nov 15, 2021
@aitorfi aitorfi deleted the changeJavaVersion branch September 23, 2022 13:42
@vil02 vil02 mentioned this pull request May 17, 2024
6 tasks
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.

2 participants