Question regarding type use annotation on method parameter type
Laird Nelson
ljnelson at gmail.com
Thu Feb 16 04:48:44 UTC 2023
On Wed, Feb 15, 2023 at 7:57 PM Liam Miller-Cushon <cushon at google.com>
wrote:
> Should `sAsType.getAnnotations()` be `sAsType.getAnnotationMirrors()`?
>
Yes; my bad.
> It works for me if B is being compiled from source as part of the same
> compilation doing the annotation processing, but not if B is loaded from
> the classpath, which is consistent with this known issue:
> https://bugs.openjdk.org/browse/JDK-8225377
>
That is exactly the circumstance I am experiencing. Thanks for the bug
pointer and I'll be on my way.
Best,
Laird
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/compiler-dev/attachments/20230215/6c2a788c/attachment.htm>
More information about the compiler-dev
mailing list