Summary
Add -proc:full to explicitly specify both annotation processing and compilation are requested of javac. (This is currently the default policy.) No changes from original CSR JDK-8308346.
Problem
The default policy for annotation processing does not have a value for the -proc option.
Solution
Add -proc:full as a third recognized option, alongside -proc:none and -proc:only.
Specification
The -help output of javac will mention the new alternative:
-proc:{none,only,full}
Control whether annotation processing and/or compilation is done.
and the javac "manpage" will be updated similar to:
-`-proc:`\[`none`, `only`\]
+`-proc:`\[`none`, `only`, `full`\]
: Controls whether annotation processing and compilation are done.
`-proc:none` means that compilation takes place without annotation
processing. `-proc:only` means that only annotation processing is done,
- without any subsequent compilation.
+ without any subsequent compilation. `-proc:full` means that annotation
+ processing is done with subsequent compilation.
- csr of
-
JDK-8321416 Add -proc:full to describe current default annotation processing policy
-
- Resolved
-
-
JDK-8321418 Add -proc:full to describe current default annotation processing policy
-
- Resolved
-
-
JDK-8321419 Add -proc:full to describe current default annotation processing policy
-
- Resolved
-
-
JDK-8324670 Add -proc:full to describe current default annotation processing policy
-
- Resolved
-
-
JDK-8324804 Add -proc:full to describe current default annotation processing policy
-
- Resolved
-
- relates to
-
JDK-8308346 Add -proc:full to describe current default annotation processing policy
-
- Closed
-