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

Oliver Pajonk oliver at oliverpajonk.de
Mon Mar 4 15:42:50 CET 2013


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


More information about the jacorb-developer mailing list