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

fixed AopUtils#getDeclaredMethod to look for method also in superclasses #723

Conversation

vstepchik
Copy link
Contributor

The HystrixCommandAspect fails with NPE if the method annotated with @HystrixCommand is implemented in a superclass. Since the Class#getDeclaredMethod can't see inherited methods but in spite of Class#getMethod can see private ones, I performed a recursive search up by class hierarchy.

@cloudbees-pull-request-builder

NetflixOSS » Hystrix » Hystrix-pull-requests #70 FAILURE
Looks like there's a problem with this pull request

@vstepchik
Copy link
Contributor Author

Looks like build fails for the same reason as in #718

@cloudbees-pull-request-builder

NetflixOSS » Hystrix » Hystrix-pull-requests #73 SUCCESS
This pull request looks good

mattrjacobs added a commit that referenced this pull request Mar 25, 2015
…erse_superclasses

fixed AopUtils#getDeclaredMethod to look for method also in superclasses
@mattrjacobs mattrjacobs merged commit 6bf605e into Netflix:master Mar 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants