RFR: 8292275: javac does not emit SYNTHETIC and MANDATED flags for parameters by default [v3]

Hannes Greule duke at openjdk.org
Tue Aug 16 07:22:53 UTC 2022


On Mon, 15 Aug 2022 18:06:07 GMT, Joe Darcy <darcy at openjdk.org> wrote:

>> Could you elaborate on that? Should I add a processor to the JavacTask in this test or write a separate one? (Maybe there is a similar test I can use as reference?)
>> Thank you.
>
>> Could you elaborate on that? Should I add a processor to the JavacTask in this test or write a separate one? (Maybe there is a similar test I can use as reference?) Thank you.
> 
> There are tests that can be used as a model around
> 
> test/langtools/tools/javac/processing/model/util/elements 
> 
> HTH

Sorry, it looks like there is no way to access the synthetic/mandated information using the annotation processing API. Am I missing something?

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

PR: https://git.openjdk.org/jdk/pull/9862


More information about the compiler-dev mailing list