Skip to content

AnnotationAttributes#assertNotException should check for instance of Throwable #23424

@sbrannen

Description

@sbrannen

As discussed in #23408 (comment), AnnotationAttributes#assertNotException(String, Object) should actually check if (attributeValue instanceof Throwable) instead of if (attributeValue instanceof Exception).

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: bugA general bug

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions