[kaffe] Difference between kaffe-1.1.5 and Sun 1.4.2

David Tiller dtiller at captechventures.com
Mon Aug 8 13:18:02 PDT 2005


When the following 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)
 
 
Which behavior is correct?
 
 
--
David Tiller
Sr. Consultant
CapTech Ventures, Inc
Richmond, VA
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://kaffe.org/pipermail/kaffe/attachments/20050808/2ea4a40e/attachment-0005.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Class1.java
Type: application/octet-stream
Size: 151 bytes
Desc: Class1.java
Url : http://kaffe.org/pipermail/kaffe/attachments/20050808/2ea4a40e/attachment-0008.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Class2.java
Type: application/octet-stream
Size: 166 bytes
Desc: Class2.java
Url : http://kaffe.org/pipermail/kaffe/attachments/20050808/2ea4a40e/attachment-0009.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Class3.java
Type: application/octet-stream
Size: 146 bytes
Desc: Class3.java
Url : http://kaffe.org/pipermail/kaffe/attachments/20050808/2ea4a40e/attachment-0010.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Main.java
Type: application/octet-stream
Size: 94 bytes
Desc: Main.java
Url : http://kaffe.org/pipermail/kaffe/attachments/20050808/2ea4a40e/attachment-0011.obj 


More information about the kaffe mailing list