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

Only test on older JDKs which are commonly LTS #199

Merged
merged 1 commit into from
Jul 21, 2023
Merged

Only test on older JDKs which are commonly LTS #199

merged 1 commit into from
Jul 21, 2023

Conversation

JakeWharton
Copy link
Collaborator

@JakeWharton JakeWharton commented Jul 21, 2023

The OpenJDK itself has no concept of LTS, so any vendor is welcome to deem any version an LTS version, but in general they all follow Oracle's lead with 8, 11, 17, and soon 21. These become a representative sample that covers the overwhelming majority of deployments, and thus should be sufficient for test coverage.

Closes #96

@drewhamilton
Copy link
Owner

If I'm reading this right Gradle 8.3 will support JDK 20 (and Kotlin 1.9 was merged last week). Maybe separate the test reductions and the JDK 20 bump into two PRs?

@JakeWharton
Copy link
Collaborator Author

Yeah, that's probably simplest. 20 can be used to run today, but you can't target 20 so you have to always have a lower target explicitly set.

@drewhamilton drewhamilton enabled auto-merge (squash) July 21, 2023 19:06
@drewhamilton drewhamilton merged commit 5655fef into drewhamilton:main Jul 21, 2023
5 checks passed
@JakeWharton JakeWharton deleted the jw.only-the-hits.2023-07-21 branch July 21, 2023 19:23
@drewhamilton drewhamilton mentioned this pull request Aug 17, 2023
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.

Restore JDK 10 testing
2 participants