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

Cached MethodExecutor invokes wrong method

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.2.3, 4.0 M1
    • Fix Version/s: 4.0 M2
    • Component/s: Core:SpEL
    • Labels:
      None

      Description

      The readme.txt in module spring-expression asks whether the caching of (method) executors can do any harm.

      It can. At least it may lead to the invocation of the wrong method, if there are overloaded methods of the same name with different parameter types.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pwebb Phil Webb
              Reporter:
              obecker Oliver Becker
              Last updater:
              Spring Issuemaster
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 25 weeks, 2 days ago