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:
Referenced from: commits 213b528