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


None yet
2 participants
Copy link

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 enebo added the JRuby 9000 label Jun 14, 2015

enebo added a commit that referenced this pull request Jun 14, 2015

Merge pull request #3044 from cheald/master
Fix getRealMethod for WrapperMethod which wraps a WrapperMethod

@enebo enebo merged commit 2dacf17 into jruby:master Jun 14, 2015

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.