Closed
Description
Tuomas Kiviaho opened SPR-5477 and commented
javax.xml.bind.annotation.XmlType#factoryClass return type is class but when scanned AnnotationMetadataReadingVisitor returns the value as org.springframework.asm.Type if factoryClass isn't default value.
One possible solution would be use classloader.loadClass(((Type)object).getClassName()) in visit() method for such types just like when handling the defaults.
Affects: 2.5.6
Issue Links:
- Regression: AnnotationMetadataReadingVisitor doesn't consider annotation method returning classes (SPR-5477) [SPR-5827] #10497 Regression: AnnotationMetadataReadingVisitor doesn't consider annotation method returning classes (SPR-5477)
Referenced from: commits 213b528