Menu

#6 JAVA: Messages do not overload .equals() method

open
nobody
None
5
2012-12-05
2007-08-27
No

Hi !

I've found a bug.

In the Java output, the generated Messages classes do not overload the Object.equals() method using xsEquals() although they overload the Object.clone() using the xsClone().

This overloading is required to be able to use the MxxxArrayList.contains() (and such) methods correctly as they rely on the overloading of the Object.equals method as it can be seen in the Java JDK specs.

Thanks.

Discussion


Log in to post a comment.

Auth0 Logo