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

Drop Java 8 Support #1328

Open
hcoles opened this issue Apr 19, 2024 · 5 comments
Open

Drop Java 8 Support #1328

hcoles opened this issue Apr 19, 2024 · 5 comments

Comments

@hcoles
Copy link
Owner

hcoles commented Apr 19, 2024

Pitest will finally be dropping support for Java 8 this year and switching to Java 11 as a minimum version.

This issue is an opportunity for teams using pitest to discuss any problems this plan might cause. Please do not use it to advocate for instead raising the minimum to 17/21 etc.

Java 8 bytecode will still be supported for mutation, but a jvm of 11 or higher will be required to run pitest.

@balayanv
Copy link

Isn't java 8 still the most used JDK version? I remember until very recently stats were showing that 8 is still the most popular even though JVM used to run code was much more up-to-date people still kept using 8.

@hcoles
Copy link
Owner Author

hcoles commented Apr 28, 2024

I think the new relic report had java 8 usage now below that of java 11. But the question is, what versions of Java are the teams using pitest deploying on? If may be skewed in either direction.

@bitPogo
Copy link

bitPogo commented May 2, 2024

May I ask, if you factored the Android into this decision?

@hcoles
Copy link
Owner Author

hcoles commented May 2, 2024

@bitPogo I'm not an android developer, so perhaps don't understand the impact. Can you elaborate?

@hcoles
Copy link
Owner Author

hcoles commented May 2, 2024

This link seems to suggest recent android versions require Java 11 or higher

https://developer.android.com/build/jdks#compileSdk

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

No branches or pull requests

3 participants