Small class file with loop from assembler gives odd behavior
Bradley M. Kuhn
bkuhn at ebb.org
Sun Mar 5 16:02:32 PST 2000
[ I have tried to send in this bug report but it bounced. ]
I am generating Jasmin assembler files that are being compiled with Jasmin,
and then run in the VM. I had been using the Blackdown proprietary VM, but
wanted to switch to kaffe. I found that kaffe did not work when I had an
assembler file such as this:
.source Main.jasmin
.class public Main
.super java/lang/Object
.method static public main([Ljava/lang/String;)V
iconst_1
Start_0:
ifne End_1
goto Start_0
End_1:
return
.end method
I have attached the .class file that jasmin generates. As far as I can tell
from the jasmin source, and from using "javap -c" with Blackdown's VM, this
should simply return without error.
In Kaffe 1.0.5 (and in a CVS checkout version from Sat. 4 March 2000) in
both JIT and interp compiles, I get:
Exception thrown on null object ... aborting
Abort
Any ideas would be helpful. I would very much prefer to switch to a free
software VM.
Theoretically, this could be a bug in Jasmin, but since this file works
without fail in the Blackdown port, I think there is something else going
on.
--
- bkuhn at ebb.org - Bradley M. Kuhn - bkuhn at gnu.org -
http://www.ebb.org/bkuhn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20000305/6e9a4eef/attachment-0003.pgp
More information about the kaffe
mailing list