RFR: 8332497: javac prints an AssertionError when annotation processing runs on program with module imports [v13]
Evemose
duke at openjdk.org
Wed May 22 20:33:34 UTC 2024
On Wed, 22 May 2024 20:19:23 GMT, Chen Liang <liach at openjdk.org> wrote:
>> Evemose has updated the pull request incrementally with one additional commit since the last revision:
>>
>> fixed -source syntax
>
> test/langtools/tools/javac/processing/ModuleImportProcessingTest.java line 36:
>
>> 34: * @modules jdk.compiler
>> 35: * @enablePreview
>> 36: * @build JavacTestingAbstractProcessor ModuleImportProcessingTest
>
> Suggestion:
>
> * @compile JavacTestingAbstractProcessor.java ModuleImportProcessingTest.java
>
> I think the `build` action doesn't support building dependencies with preview, so `@build ModuleImportProcessingTest` is the one that's failing here. You can revert all those `--enable-preview` for `@compile/process` down below.
Thanks for the suggestion. Lets see how it works
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/19292#discussion_r1610606359
More information about the compiler-dev
mailing list