New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReflectivePropertyAccessor should not consider bridge methods [SPR-9994] #14628

Closed
spring-issuemaster opened this Issue Nov 15, 2012 · 0 comments

Comments

Projects
None yet
2 participants
@spring-issuemaster
Copy link
Collaborator

spring-issuemaster commented Nov 15, 2012

Phil Webb opened SPR-9994 and commented

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.


Affects: 3.1.3

Sub-tasks:

  • #14629 Backport "ReflectivePropertyAccessor should not consider bridge methods"

Issue Links:

  • #14795 Consider bridge methods in SpEL properties

Referenced from: commits 107fafb, 2ec41af

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment