I have seen that Hessian versions >= 3.0.20 should support java enum.
In my code I send an eneum memebr to my client (using hessian 3.1.3)
and get the same enum member back a few seconds later. On server site
I compare the two objects and they are not equal.

I tried the following 3 methodes to compare them.

"obj1.equals(obj2)" --> false
"obj1 == obj2" --> false
"obj1.ordinal() == obj2.ordinal()" -->true

I also see that obj1 and obj2 have not the same Object-ID. Is this
behavior correct?
I think this was a bug in an earlier Hessian version but should have
been fixed in 3.0.20.

Thanks for your help
Martin


_______________________________________________
hessian-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/hessian-interest

Reply via email to