Skip to content

Regression: annotation searches no longer handle exceptions #24188

@sbrannen

Description

@sbrannen

Overview

While working on #24136, it became apparent that the use of AnnotationUtils.handleIntrospectionFailure() was removed in b91ccf0 and added back as a private method in 37255af.

Consequently, we lost that exception handling support outside of AnnotationUtils which will inevitably lead to regressions for some use cases.

Potential Candidates

Potential candidates in AnnotationsScanner for local exception handling.

  • processElement()
  • processClassInheritedAnnotations()
  • processClassHierarchy()
  • processMethodInheritedAnnotations()
  • processMethodHierarchy()

Deliverables

  • Start using AnnotationUtils.handleIntrospectionFailure() within the new MergedAnnotation internals.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: regressionA bug that is also a regression

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions