Class1 is abstract, with a concrete private method 'method'.
Class2 is abstract, extends Class1, with a protected abstract method
'method'.
Class3 is concrete, extends Class2, with a concrete protected method
'method'.
 
When the classes are compiled and the Main class is run under Sun's JRE
1.4.2, the following is output:

In Class1 method.
In Class3 method.

When run under kaffe-1.1.5, the following is output:

In Class1 method.
java.lang.VerifyError: No code attribute for Class2.method.
  at Class2.init (Class2.java:8)
  at Class2.<init> (Class2.java:4)
  at Class2.<init> (Class3.java:3)
  at Main.main (Main.java:3)

--
David Tiller
Sr. Consultant
CapTech Ventures, Inc
Richmond, VA

Attachment: Class1.java
Description: Class1.java

Attachment: Class2.java
Description: Class2.java

Attachment: Class3.java
Description: Class3.java

Attachment: Main.java
Description: Main.java

_______________________________________________
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to