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

ObjectAssert.isLenientEquals ignores superclass fields #74

Closed
dpredovic opened this issue Jul 16, 2012 · 1 comment
Closed

ObjectAssert.isLenientEquals ignores superclass fields #74

dpredovic opened this issue Jul 16, 2012 · 1 comment
Assignees
Milestone

Comments

@dpredovic
Copy link

I'm not sure if this is a feature or a bug, but the ObjectAssert.isLenientEquals family of methods checks only the fields of the concrete class and ignores the fields of the superclasses (because that's what Class.getDeclaredFields() does). It should be either documented as such or fixed.

@joel-costigliola
Copy link
Contributor

I would say it's a bug.
Thanks for reporting this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants