-Xjdk-release. Review fixes

This commit is contained in:
Mikhael Bogdanov
2021-11-20 15:22:55 +01:00
committed by Space
parent 3593e45b97
commit a6052dce44
10 changed files with 45 additions and 61 deletions
+3 -2
View File
@@ -35,8 +35,9 @@ where advanced options include:
-Xjava-package-prefix Package prefix for Java files
-Xjava-source-roots=<path> Paths to directories with Java source files
-Xjavac-arguments=<option[,]> Java compiler arguments
-Xjdk-release=<version> Compile against specified JDK API. Requires JDK 9 or newer.
Supported versions depend on used JDK (For JDK 17 supported targets are 1.8, 9, 10 - 17). Also set `-jvm-target` value
-Xjdk-release=<version> Compile against the specified JDK API version, similarly to javac's `-release`. Requires JDK 9 or newer.
Supported versions depend on the used JDK; for JDK 17+ supported versions are 1.8, 9, 10, ..., 17.
Also sets `-jvm-target` value equal to the selected JDK version
-Xjspecify-annotations=ignore|strict|warn
Specify behavior for jspecify annotations.
Default value is 'warn'