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

Rob Bygrave duke at openjdk.org
Sun Oct 8 19:44:17 UTC 2023


On Sun, 10 Sep 2023 15:33:15 GMT, Chen Liang <liach at openjdk.org> wrote:

> This patch isn't aimed to remove AP. This aims to avoid unintentional AP pollutions in classpath

Yes, I understand that.

> Such classpath separation have already been promoted by build tools like Gradle.

**_BUT_** it has **_NOT_** been promoted by **_Maven_**. In the bug report and in this PR I do not see any explicit recognition of how this change will impact the community that is using Maven and I am suggesting that this is a significant proportion of the community.

For example, all the libraries that use annotation processing that document maven use could be impacted along the lines that their documentation will now be at least misleading (and sometimes incorrect). 

This change might indeed be a good long term change but it seems to be being made without any recognition or understanding of how impactful it will be.

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

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


More information about the compiler-dev mailing list