RFR: JDK-8306819: Consider disabling the compiler's default active annotation processing

Joe Darcy darcy at openjdk.org
Sat Sep 9 22:33:14 UTC 2023


On Mon, 12 Jun 2023 23:49:51 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> Change annotation processing to be opt-in rather than opt-out.

Keep alive.

With the preparatory work of

8310061: Note if implicit annotation processing is being used

in JDK 21, please review this first cut at removing implicit annotation processing by default.

In this first iteration, I left the javac note in the properties file. In a subsequent iteration, we may decided to keep the old policy or earlier source levels, etc. Depending on the final disposition of that point, the property key should be fully expunged.

Once it is clearer what the eventual policy will be, I'll file the corresponding CSR.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/14432#issuecomment-1668821871
PR Comment: https://git.openjdk.org/jdk/pull/14432#issuecomment-1712653778


More information about the compiler-dev mailing list