From bd6518f160e436ad72bcf613a60dd6839d42782a Mon Sep 17 00:00:00 2001 From: Slawomir Jaranowski Date: Wed, 13 Mar 2024 21:12:18 +0100 Subject: [PATCH] Update src/site/apt/examples/set-compiler-release.apt.vm Co-authored-by: Konrad Windszus --- src/site/apt/examples/set-compiler-release.apt.vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/site/apt/examples/set-compiler-release.apt.vm b/src/site/apt/examples/set-compiler-release.apt.vm index 75f5205a..a24ca427 100644 --- a/src/site/apt/examples/set-compiler-release.apt.vm +++ b/src/site/apt/examples/set-compiler-release.apt.vm @@ -114,7 +114,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 <<>> compilerId you can skip special profile. + Since version <<<3.13.0>>> of the Compiler Plugin together with the default <<>> compilerId you don't need conditional parametrisation of `release`. The <<>> parameter will only be effective for Java 9 or above, otherwise the <<>> and <<>> will be passed to the compiler. So you can simply configure as: