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 && Introduce Java21 #296

Merged
merged 7 commits into from
Sep 24, 2023

Conversation

guizmaii
Copy link
Member

@guizmaii guizmaii commented Sep 23, 2023

Follows zio/zio#8434

⚠️ This PR changes the version of the Java bytecode emitted.
We were emitting Java8 bytecode, not we generate Java11 bytecode.
See https://github.com/zio/zio-sbt/pull/296/files#diff-bf3171487bdb6bd0654f0cdda719dffd49d5f9f7aabd2bfacdfc5f20588ddea9R161

Asked the question to @jdegoes and @adamgfraser if they were okay with this change here: https://x.com/guizmaii/status/1705963927710941321?s=20
Waiting for answer 🙂

@@ -29,8 +28,8 @@ jobs:
- name: Setup Scala
uses: actions/setup-java@v3.13.0
with:
distribution: temurin
java-version: '8'
distribution: corretto
Copy link
Member Author

@guizmaii guizmaii Sep 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

temurin didn't publish their version of Java 21 yet

@guizmaii guizmaii changed the title Drop Java 8 support Drop Java 8 support && Introduce Java21 Sep 23, 2023
@adamgfraser adamgfraser merged commit 3a44fe8 into zio:main Sep 24, 2023
11 checks passed
@guizmaii guizmaii deleted the drop_java_8_support branch September 24, 2023 15:34
@guizmaii
Copy link
Member Author

Thanks for the clear and concise answer @adamgfraser 😄🙏

@He-Pin
Copy link

He-Pin commented Sep 25, 2023

A nice move!

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.

3 participants