Skip to content

Commit

Permalink
[MCOMPILER-548] JDK 21 throws annotations processing warning that can…
Browse files Browse the repository at this point in the history
… not be turned off

Turns out this is just a documentation issue. `full` works fine but is
not documented.
  • Loading branch information
hgschmie authored and slawekjaranowski committed Mar 5, 2024
1 parent f85aa27 commit f91043b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,11 @@ public abstract class AbstractCompilerMojo extends AbstractMojo {
* <ul>
* <li><code>none</code> - no annotation processing is performed.</li>
* <li><code>only</code> - only annotation processing is done, no compilation.</li>
* <li><code>full</code> - annotation processing and compilation.</li>
* </ul>
*
* <code>full</code> is the default. Starting with JDK 21, this option must be set explicitly.
*
* @since 2.2
* @see <a href="https://docs.oracle.com/en/java/javase/17/docs/specs/man/javac.html#option-proc">javac -proc</a>
* @see <a href="https://docs.oracle.com/en/java/javase/17/docs/specs/man/javac.html#annotation-processing">javac Annotation Processing</a>
Expand Down

0 comments on commit f91043b

Please sign in to comment.