Skip to content

Commit

Permalink
Update src/site/apt/examples/set-compiler-release.apt.vm
Browse files Browse the repository at this point in the history
Co-authored-by: Konrad Windszus <kwin@apache.org>
  • Loading branch information
slawekjaranowski and kwin committed Mar 13, 2024
1 parent 7520d87 commit 2e69b11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/site/apt/examples/set-compiler-release.apt.vm
Expand Up @@ -115,7 +115,7 @@ Setting the <<<--release>>> of the Java Compiler
* Usage on JDK 8 - automatic detection

Since version <<<3.13.0>>> of the Compiler Plugin and default <<<javac>>> compilerId you can skip special profile.
The <<<--release>>> option will be automatically used according to JDK used for compilation.
The <<<release>>> parameter will only be effective for Java 9 or above, otherwise the <<<source>>> and <<<target>>> will be passed to the compiler.

So you can simply configure as:

Expand Down

0 comments on commit 2e69b11

Please sign in to comment.