Stefan Fussenegger opened SPR-15384 and commented
ConfigurationClassParser adds member classes in the order they are returned by the ASM-based MetadataReader and ClassMetadata while no further ordering seems to be applied.
Members are returned - at least in my setup - in alphabetical order by ASM. I couldn't find any documentation though that would suggest that this is the expected behavior. It simply seems to be the order in which ASM reads member names form the class file (so this might be even depending on the compiler?)
Affects: 4.3.7
Reference URL: spring-attic/spring-framework-issues#152
Issue Links:
Referenced from: commits spring-attic/spring-framework-issues@4928f52, spring-attic/spring-framework-issues@d447102
Stefan Fussenegger opened SPR-15384 and commented
ConfigurationClassParseradds member classes in the order they are returned by the ASM-basedMetadataReaderandClassMetadatawhile no further ordering seems to be applied.Members are returned - at least in my setup - in alphabetical order by ASM. I couldn't find any documentation though that would suggest that this is the expected behavior. It simply seems to be the order in which ASM reads member names form the class file (so this might be even depending on the compiler?)
Affects: 4.3.7
Reference URL: spring-attic/spring-framework-issues#152
Issue Links:
@Beanregistration order within Class-reflected configuration classesReferenced from: commits spring-attic/spring-framework-issues@4928f52, spring-attic/spring-framework-issues@d447102