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

ReflectivePropertyAccessor should not consider bridge methods

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.2 RC1
    • Component/s: Core
    • Labels:
      None
    • Last commented by a User:
      false

      Description

      The ReflectivePropertyAccessor findGetterForProperty and findSetterForProperty methods searches all methods for a name based match. If the class being searched implements an interface with generic types it possible that bridge methods will be incorrectly discovered.

      As the order of Class.getMethods() is undetermined and JVM specific this issue is not consistently reproducible. See SWF-1438 for an example that fails on Windows but not Linux.

        Attachments

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

              • Assignee:
                pwebb Phil Webb
                Reporter:
                pwebb Phil Webb
                Last updater:
                Chris Beams
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 4 weeks, 6 days ago