You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java
+39-19Lines changed: 39 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,6 @@
24
24
importjavax.tools.JavaFileManager;
25
25
importjavax.tools.JavaFileObject;
26
26
importjavax.tools.OptionChecker;
27
-
importjavax.tools.Tool;
28
27
importjavax.tools.ToolProvider;
29
28
30
29
importjava.io.BufferedReader;
@@ -213,6 +212,13 @@ final Charset charset() {
213
212
*/
214
213
privatebooleantargetOrReleaseSet;
215
214
215
+
/**
216
+
* The highest version supported by the compiler, or {@code null} if not yet determined.
217
+
*
218
+
* @see #isVersionEqualOrNewer(String)
219
+
*/
220
+
privateSourceVersionsupportedVersion;
221
+
216
222
/**
217
223
* Whether to enable preview language features of the java compiler.
218
224
* If {@code true}, then the {@code --enable-preview} option will be added to compiler arguments.
@@ -290,12 +296,16 @@ final Charset charset() {
290
296
* </ul>
291
297
*
292
298
* The default value depends on the JDK used for the build.
293
-
* Prior to Java 22, the default was {@code full}, so annotation processing and compilation were executed without explicit configuration.
299
+
* Prior to Java 23, the default was {@code full},
300
+
* so annotation processing and compilation were executed without explicit configuration.
294
301
*
295
302
* For security reasons, starting with Java 23 no annotation processing is done if neither
296
-
* any {@code -processor}, {@code -processor path} or {@code -processor module} are set, or either {@code only} or {@code full} is set.
303
+
* any {@code -processor}, {@code -processor path} or {@code -processor module} are set,
304
+
* or either {@code only} or {@code full} is set.
297
305
* So literally the default is {@code none}.
298
-
* It is recommended to always list the annotation processors you want to execute instead of using the {@code proc} configuration, to ensure that only desired processors are executed and not any "hidden" (and maybe malicious).
306
+
* It is recommended to always list the annotation processors you want to execute
307
+
* instead of using the {@code proc} configuration,
308
+
* to ensure that only desired processors are executed and not any "hidden" (and maybe malicious).
0 commit comments