-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Drop support for Java 6 #2018
Comments
Would it make sense to directly move to Java 8? Then Gson could in the future easily add support for |
I think we'll want Gson to be like Guava. Guava supports Java 7 for Android. In reality, Android tooling does support Java 8 language features such as lambdas even for old Android versions, but those old versions don't have Java 8 API features such as At some point, Guava will probably stop supporting these old versions and then Gson can follow suit. |
Continuing to support Java 6 causes considerable headaches. Building with
-source 6 -target 6
is not supported in JDK versions after 11. I don't think we need to support further back than Java 7 even for the most ancient Android devices still in use.The text was updated successfully, but these errors were encountered: