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

bug: CtMethod#isDefaultMethod() returns false for default methods #1163

Closed
pvojtechovsky opened this issue Feb 2, 2017 · 1 comment
Closed
Labels

Comments

@pvojtechovsky
Copy link
Collaborator

This code fails, even if Consumer#andThen method is default.

assertTrue(factory.Class().get(java.util.function.Consumer.class)
   .getMethodsByName("andThen").get(0).isDefaultMethod());
@pvojtechovsky
Copy link
Collaborator Author

Fixed by #1165

@surli surli added the bug label Feb 5, 2017
@surli surli closed this as completed Feb 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants