Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AnnotatedElementUtils.getAllAnnotationAttributes(…) missing @Nullable #34394

Closed
mp911de opened this issue Feb 10, 2025 · 1 comment
Closed
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: regression A bug that is also a regression
Milestone

Comments

@mp911de
Copy link
Member

mp911de commented Feb 10, 2025

AnnotatedElementUtils.getAllAnnotationAttributes(…) is documented as

* @return a {@link MultiValueMap} keyed by attribute name, containing the annotation
* attributes from all annotations found, or {@code null} if not found

but the return type isn't annotated with @Nullable.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Feb 10, 2025
@sbrannen sbrannen added the in: core Issues in core modules (aop, beans, core, context, expression) label Feb 10, 2025
@sbrannen sbrannen self-assigned this Feb 10, 2025
@sbrannen sbrannen added type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Feb 10, 2025
@sbrannen sbrannen modified the milestones: 6.2.3, 7.0.0-M2 Feb 10, 2025
@sbrannen
Copy link
Member

Good catch, @mp911de. 👍

This is a regression that was inadvertently introduced in 7.0 M1.

@sbrannen sbrannen added type: regression A bug that is also a regression and removed type: bug A general bug labels Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: regression A bug that is also a regression
Projects
None yet
Development

No branches or pull requests

3 participants