Skip to content

PayloadApplicationEvent can't hit cache [SPR-13543] #18119

Closed
@spring-projects-issues

Description

@spring-projects-issues

bohr.qiu opened SPR-13543 and commented

PayloadApplicationEvent dont implement hashcode and equals,when publish event,org.springframework.context.event.AbstractApplicationEventMulticaster#getApplicationListeners(org.springframework.context.ApplicationEvent, org.springframework.core.ResolvableType) method can’t hit the cache。

cache key is ListenerCacheKey,


Affects: 4.2.1

Issue Links:

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions