This commit introduces tests for the status quo as of Spring Framework
5.1.x (before the introduction of the MergedAnnotations API in 5.2).
Specifically, this commit introduces tests for the following use cases.
- declared annotation type cannot be loaded
- class referenced via annotation attribute cannot be loaded
- nested annotation referenced via annotation attribute cannot be loaded
- enum referenced via annotation attribute cannot be loaded
The first two use cases above are also tested with merged annotation
support for a custom composed annotation.
Note: this commit does not include tests for annotation attribute
arrays of classes, annotations, or enums.
See gh-27772