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

Support Java 20, remove Java 7 support #672

Merged
merged 6 commits into from
Sep 23, 2023
Merged

Conversation

cmacdonald
Copy link
Contributor

@cmacdonald cmacdonald commented Sep 19, 2023

Java 20 (released in March 2023) has removed support for compiling class files for JDK 7. This means Jnius doesn’t currently compile (nor run?) under Java 20.

Java SE 7 had End of Extended Support in July 2022. So we need no longer support Java 7 as a target.

Please consider this PR for 1.6.0 release cycle that

  • supports and tests Java 20 in GHA
  • Removes Java 7 as the target

NB: I had to change the Java distribution in GHA to one that had Java 20 on most platforms.

@misl6
Copy link
Member

misl6 commented Sep 23, 2023

Hi @cmacdonald !

temurin seems to have Java 20 for all the platforms, except Windows x86. (Windows x86_64 is supported)

https://github.com/cmacdonald/pyjnius/actions/runs/6230818141/job/16911405627 seems to fail for another reason, that you later addressed.

Skipping the test on Windows x86 only seems much better than skipping it on both (we can even remove support for Windows x86 in future)

What are your thoughts?

@cmacdonald
Copy link
Contributor Author

Makes sense to me. Are you able to push to the PR to make the change.

@misl6
Copy link
Member

misl6 commented Sep 23, 2023

Makes sense to me. Are you able to push to the PR to make the change.

Thank you for speeding up the process! Seems to work!

LGTM. Thank you!

@misl6 misl6 merged commit 9ef610c into kivy:master Sep 23, 2023
174 checks passed
@cmacdonald cmacdonald deleted the java20 branch September 24, 2023 12:29
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