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

Prepare for Java 8 support dropping from modern JDKs #950

Merged
merged 1 commit into from
Sep 1, 2023

Conversation

shs96c
Copy link
Collaborator

@shs96c shs96c commented Aug 31, 2023

Modern JDKs print a warning that Java 8 support is deprecated and will be removed in a future release. To prevent that warning being displayed, we add an additional javac flag when compiling the code which targets Java 8.

The long-term solution is to only target Java 11+, which I suggest we do after Java 21 ships in Septembe after 2023.

Modern JDKs print a warning that Java 8 support is deprecated and
will be removed in a future release. To prevent that warning being
displayed, we add an additional `javac` flag when compiling the
code which targets Java 8.

The long-term solution is to only target Java 11+, which I suggest
we do after Java 21 ships in Septembe after 2023.
@shs96c shs96c merged commit 14b38ba into bazel-contrib:master Sep 1, 2023
@shs96c shs96c deleted the java-8-lint-warnings branch September 1, 2023 15:51
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