Hi,
I am facing some problems with the jikes compiler.
Let me put the scenario:
Child extends Parent which is abstract class.
Child class has one inner class called Inner.
Parent extends GrandParent.
someMethod of GrandParent is overridden in Child.
In one of the methods of inner class. Child.super.someMethod(); is called.
When I compile through the normal
java compiler it creates Parent.class, GrandParent.class, Child.class, Child$Inner.class and Child$1.class.
When Child.super.someMethod() is called from Inner class method then GrandParent�s someMethod gets executed.
And if I compile through jikes compiler Child$1.class is not created.
When Child.super.someMethod() is called from Inner class method then Child�s someMethod gets executed.
I don�t know who is correct jikes or javac.
--Avinash
[ April 03, 2002: Message edited by: Michael Ernest ]