Skip to content
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

Fix getRealMethod for WrapperMethod which wraps a WrapperMethod #3044

merged 1 commit into from Jun 14, 2015


Copy link

@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 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
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants