[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Scene transformation
Hi,
I'm not sure I completely understand your question. Let me try to answer
it.
On Mon, 13 Nov 2000, Utku Irmak wrote:
> simply adding a method to a class, say try1.Hello1, which has a parameter of
> the same type, try1.Hello1. Then I am calling this method from try1.Hello,
> something like this :
> Hello1 x = new Hello1;
> x.method1(x);
So the main thing going on here is that you're passing a try1.Hello to a
method. At the same time, you're adding a method to try1.Hello.
> Exception in thread "main" java.lang.IncompatibleClassChangeError
> at deneme.Hello1.method1(deneme.Hello1.jasmin)
> at deneme.Hello.main(deneme.Hello.jasmin)
The problem is that you're calling a method on try1.Hello but the Java
Virtual Machine sees that try1.Hello changed from when it was compiled -
this is an incompatible class change.
I'm not sure how you can fix this problem, aside from not doing this.
pat