In commit622fc3edf7, I introduced a check in TypeMappedAnnotation#isSynthesizable() intended to force synthesis when an attribute value needs to be resolved from a different level of a multi-level annotation hierarchy whose root annotation does not redeclare the target attribute itself. That check tested if `resolvedMirrors.length > 0` for a meta-annotation; however, resolvedMirrors is always sized according to the number of attributes declared by the mapped annotation type, regardless of whether any of those attributes actually participate in mirroring or an @AliasFor override. As a result, the check effectively synthesized any meta-annotation that declares at least one attribute, which reintroduced the unnecessary-synthesis behavior that commitd6768ccc18had fixed, merely narrowed to meta-annotations with attributes. This commit replaces that overly broad check with a precise one in AnnotationTypeMapping#computeSynthesizableFlag(), which now also considers whether any attribute's value must be resolved from a different annotation in the meta-annotation hierarchy (tracked via annotationValueSource). This correctly identifies the original multi-level hierarchy scenario without over-matching on ordinary meta-annotations that have nothing to merge or override. See gh-28704 See gh-28716 Closes gh-37135
Spring Framework

This is the home of the Spring Framework: the foundation for all Spring projects. Collectively the Spring Framework and the family of Spring projects are often referred to simply as "Spring".
Spring provides everything required beyond the Java programming language for creating enterprise applications for a wide range of scenarios and architectures. Please read the Overview section of the reference documentation for a more complete introduction.
Code of Conduct
This project is governed by the Spring Code of Conduct. By participating, you are expected to uphold this code of conduct. Please report unacceptable behavior to spring-code-of-conduct@spring.io.
Access to Binaries
For access to artifacts or a distribution zip, see the Spring Framework Artifacts wiki page.
Documentation
The Spring Framework maintains reference documentation (published and source), GitHub wiki pages, and an API reference. There are also guides and tutorials across Spring projects.
Micro-Benchmarks
See the Micro-Benchmarks wiki page.
Build from Source
See the Build from Source wiki page and the CONTRIBUTING.md file.
Continuous Integration Builds
CI builds are defined with GitHub Actions workflows.
Stay in Touch
Follow @SpringCentral, @SpringFramework, and its team members on 𝕏. In-depth articles can be found at The Spring Blog, and releases are announced via our releases feed.
License
The Spring Framework is released under version 2.0 of the Apache License.