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

Make Java 8 the minimum supported version #2743

Open
eamonnmcmanus opened this issue Sep 17, 2024 · 0 comments · May be fixed by #2744
Open

Make Java 8 the minimum supported version #2743

eamonnmcmanus opened this issue Sep 17, 2024 · 0 comments · May be fixed by #2744
Assignees
Labels
enhancement java8 Issues related to making Java 8 the minimum supported version

Comments

@eamonnmcmanus
Copy link
Member

Java 8 has been around for 10 years now and I think it is reasonable to drop support for earlier versions. With Java 8, we can simplify some code by using lambdas and method references. We can also support serializing and deserializing types like Optional and Instant. And we can add default and static methods to interfaces in the API.

We already have the java8 label for issues that can be solved once Java 8 is required. This issue just tracks making that happen.

@eamonnmcmanus eamonnmcmanus added enhancement java8 Issues related to making Java 8 the minimum supported version labels Sep 17, 2024
@eamonnmcmanus eamonnmcmanus self-assigned this Sep 17, 2024
eamonnmcmanus added a commit to eamonnmcmanus/gson that referenced this issue Sep 18, 2024
@eamonnmcmanus eamonnmcmanus linked a pull request Sep 18, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement java8 Issues related to making Java 8 the minimum supported version
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant