[jdk16] RFR: 8254023: A module declaration is not allowed to be a target of an annotation that lacks an @Target meta-annotation

Guoxiong Li github.com+13688759+lgxbslgx at openjdk.java.net
Wed Dec 16 16:35:02 UTC 2020

On Wed, 16 Dec 2020 14:46:36 GMT, Joel Borggrén-Franck <jfranck at openjdk.org> wrote:

>> Hi all,
>> This patch adds `names.MODULE` to `com.sun.tools.javac.comp.Check.dfltTargetMeta` to fix this issue. And it also adds some corresponding tests.
>> The previous discussion is in https://github.com/openjdk/jdk/pull/622.
>> Best Regards.
> Marked as reviewed by jfranck (Reviewer).

> Can you update your fork to do pre-submit tests and trigger a manual run?



PR: https://git.openjdk.java.net/jdk16/pull/34

More information about the compiler-dev mailing list