8173056: Add test that captures current behavior of annotations with invalid annotation types

Reviewed-by: redestad
3 files changed