-
Notifications
You must be signed in to change notification settings - Fork 10
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
Unsafe equalsImpl for object list attributes #8
Comments
Thank you for this report. When convenient please identify an example class/method with code snippet to help ensure that we address the correct code blocks. |
Solution to this issue can be found here: arttu-salminen-insta-fi@91707b2 . This solution also provides null safe equals checks to SISO_BITFIELD and CLASSREF types while increasing the performance of equals checks. We'll create a pull request to this project. |
We've added solution to this issue to a previous pull request: #15 |
Implemented as part of pull request. |
Generated equalsImpl methods do unsafe checks for OBJECT_LIST type attributes. Method will throw IndexOutOfBoundsException when other object list is shorter that this object list. Equals method should not throw exceptions, list sizes should be compared before trying to access variables in the list.
The text was updated successfully, but these errors were encountered: