On Tue, 18 Apr 2023 02:22:11 GMT, Joe Darcy <da...@openjdk.org> wrote:
> I think the code should reject it The `AnnotationData` constructor already has a check for unknown annotation element types so I think this concern is covered. > leaving some bread crumb comments to future maintainers of core reflection > annotations Done here: https://github.com/openjdk/jdk/pull/12810/commits/bad23a0c90743f7568c3b8ed5b57350e62503dcf ------------- PR Comment: https://git.openjdk.org/jdk/pull/12810#issuecomment-1512577686