[jacorb-developer] IDL-generated code: hashCode() missing?

Nick Cross jacorb at goots.org
Tue Mar 5 20:55:32 CET 2013


Currently it doesn't - however patches are always welcome ;-)

Regards

Nick


On 04/03/13 14:42, Oliver Pajonk wrote:
> Hey,
>
> I have just discovered the -genEnhanced switch of the IDL compiler. Yay ;-)
>
> OK, well here's my problem: it apparently generates an "equals()" method
> and a "toString()" - which is nice. However, it does not generate a
> "hashCode()", which is bad once you override "equals()". Am I missing
> something? Is there a "hidden gem switch" which will create that method?
>
> Best,
> Oliver
> _______________________________________________
> jacorb-developer maillist  -  jacorb-developer at lists.spline.inf.fu-berlin.de
> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
>



More information about the jacorb-developer mailing list