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

altrisi duke at openjdk.org
Sun Sep 10 12:58:41 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.

This doesn't remove annotation processors, just disables them running by default with no input from the developer (I assume if they were simply in the compiler classpath, which could happen by accident). As mentioned, it can still be enabled by its flag, and it's likely build systems will set that flag for you if you have declared you use annotation processors for your build.

I also disagree in the hardly used anymore part though, but I have no data.

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

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


More information about the compiler-dev mailing list