> > I have 3 classes Example1, Example2, and Example3. The inheritance is
> >
> > Example1 --> Example2 --> Example3
> >
> > Now I try a
> >
> > Class protoClass = Class.forName("Example3");
> > Example1 source = (Example1)protoClass.newInstance();
> >
> > Later I attempt to use Example1 as Example3. Now when I attempt to use
> > source only the constructor for Example2 and Example 1 are called.
> > Why is this?
>
> Uh ... do you have a test case? ;)
I found the mistake. It was my fault. I was generating a string to pass to
Class.forName which was broken. Now it works.
_______________________________________________
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe