Hi Markus,
I can't reproduce your problem with a test which looks like yours.
And in fact, I am not surprised because the methodes generated by the
GenIC tools are the methods defined in the Home interface
and the Remote interface, (and not thoses defined in the Bean class).
Regards,
H�l�ne.
Markus Fritz wrote:
>
> Hi,
>
> after updating to the newest cvs checkout i saw this old bug:
>
> if you use beans derived from other (abstract) beans and both
> implement the same method (overloading), the Class.getMethods()
> will report them twice (at least on Linux Jdk1.2.2RC4) and so
> it is genreated twice in GenICHome, GenICRemote which results
> in a compiler error: duplicate method.
>
> <pseudo code snippet>
>
> public abstract class BaseBean extends javax.ejb.EntityBean {
>
> public String getSomeData()
> { return "Default"; }
>
> }
>
> public abstract class DerivedBean extends BaseBean {
>
> public String getSomeData()
> { return "MyOwnValue"; }
>
> }
>
> </pseudo code snippet>
>
> I attach a litte patch for this. It uses a new utility class
> dealing with method fingerprints (=mangeling) to ensure unique
> methods.
>
> HTH,
> Markus
>
--
-=- H�l�ne JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
mailto:[EMAIL PROTECTED] http://www-frec.bull.com
Phone: 33.4.76.29.73.53 Fax: 33.4.76.29.76.00
Download our EJB Server JOnAS at http://www.bullsoft.com/ejb
_______________________________________________________________
----
This list is cross-posted to two mail lists. To unsubscribe,
follow the instructions below for the list you subscribed to.
For objectweb.org: send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe ejb-container-group".
For enhydra.org: send email to [EMAIL PROTECTED] and include
in the body of the message "unsubscribe ejb-container-group".