Andy Wilkinson opened SPR-17046 and commented
I've noticed that AnnotationMetadataReadingVisitor.getMetaAnnotationTypes(String) will return null rather than the documented empty Set in two scenarios:
- getMetaAnnotationTypes is called with the name of an annotation that is not present
- getMetaAnnotationTypes is called with the name of an annotation that is present but that is not on the classpath
I've attached a small sample that hopefully illustrates both. It tests with Framework 5.1 snapshots but I believe that 5.0 is also affected and perhaps 4.3.x too.
Affects: 5.0.7
Attachments:
Issue Links: