Skip to content

Fix getRealMethod for WrapperMethod which wraps a WrapperMethod#3044

Merged
enebo merged 1 commit intojruby:masterfrom
cheald:master
Jun 14, 2015
Merged

Fix getRealMethod for WrapperMethod which wraps a WrapperMethod#3044
enebo merged 1 commit intojruby:masterfrom
cheald:master

Conversation

@cheald
Copy link
Contributor

@cheald cheald commented Jun 13, 2015

Ref: #3040

WrapperMethod can in some cases wrap a WrapperMethod, which causes getRealMethod() to return the wrapped WrapperMethod rather than the actual method at the bottom of the wrapping. This causes Helpers.methodToArgumentDescriptors to use the wrong logic for getting ArgumentDescriptors resulting in an NPE.

cc @enebo

@enebo enebo added this to the JRuby 9.0.0.0.rc2 milestone Jun 14, 2015
enebo added a commit that referenced this pull request Jun 14, 2015
Fix getRealMethod for WrapperMethod which wraps a WrapperMethod
@enebo enebo merged commit 2dacf17 into jruby:master Jun 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants