On Nov 24, 2009, at 9:50 PM, tbush wrote:
Toying around with using openejb embedded for unit tests of our EJB2
beans I
believe I came across an issue. Every time I my EJBs would deploy,
I would
get a "ClassFormatError: Duplicate field name&signature". Looking
at the
generated openejb cmp classes I realized there were two fields named
"deleted"; one was my bean's field, the other was a "private transient
deleted" put there by the Cmp2Generator. Shouldn't the
Cmp2Generator name
this field a little more uniquely than just "deleted"?
Definitely. Thanks for pointing this out. It seems like the field
name could have the same "openejb_" prefix as the method accessor that
goes with that boolean.
I'm changing it to "OpenEJB_deleted" and seeing if all is well with
that. Will throw up some binaries for you to try if it checks out.
-David