Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-13543

PayloadApplicationEvent can't hit cache

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 4.2.1
    • Fix Version/s: 4.2.2
    • Component/s: Core
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      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,

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              juergen.hoeller Juergen Hoeller
              Reporter:
              qiuboboy bohr.qiu
              Last updater:
              Spring Issues Spring Issues
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 29 weeks, 6 days ago