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

Fixes #21091: Require Java 11 #4265

Conversation

amousset
Copy link
Member

<!-- require java8, cf http://www.rudder-project.org/redmine/issues/8963 -->
<source>1.8</source>
<target>1.8</target>
<release>11</release>
Copy link
Member Author

Choose a reason for hiding this comment

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

https://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-release.html says that:

Starting JDK 9 [...]
Unlike the -source and -target options, the compiler will detect and generate an error when using APIs that don't exist in previous releases of Java SE.

which sounds like something we want.

@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 871b427 into Normation:master May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants