RFR: JDK-8308245: Add -proc:full to describe current default annotation processing policy
Vicente Romero
vromero at openjdk.org
Thu May 18 16:54:53 UTC 2023
On Thu, 18 May 2023 06:18:44 GMT, Joe Darcy <darcy at openjdk.org> wrote:
> Quick note on this PR: it proposes to add "-proc:full" as a recognized option to explicitly name the current default policy of performing both annotation processing and subsequent compilation.
>
> (It is possible that in a future release, the default will change, in which case having the -proc:full as an option now will was any transition to a new default.)
>
> I tried to write regressions tests to verify that "-proc:none,full" was rejected by javac; it was duly rejected, but rejected with an Error such that the usual compile/fail jtreg tags to did allow the case to pass.
>
> As "-proc:full" corresponds to the current default, there is no new implementation of this policy in the body of the compiler.
>
> Please also review the CSR [JDK-8308346](https://bugs.openjdk.org/browse/JDK-8308346); the CSR lists proposed updates to the javac "man page."
looks good
-------------
Marked as reviewed by vromero (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/14044#pullrequestreview-1433078088
More information about the compiler-dev
mailing list