[kaffe] KJC bug preventing Ant 1.6.0 bootstrap

Guilhem Lavaux guilhem at kaffe.org
Sat Jan 3 03:58:02 PST 2004


Dalibor Topic wrote:

> Hi Ito, salut Guilhem,
>
> I've tried to update kaffe-extras to 1.1.3 and ant 1.6.0, and after 
> spending some time revisiting the ant bootstrap script, I failed due 
> to what seems to be a compiler bug in kjc.
>
Hi Dalibor !

I've managed to isolate the bug with the attached code. It is noticeable 
that we should put the 'try {} catch' block in the static initializer to 
get the buggy behaviour. If you put the same code in main the 
compilation will be successful.

Cheers,
Guilhem.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: testKJC.java
Url: http://kaffe.org/pipermail/kaffe/attachments/20040103/8648781e/attachment-0002.txt 


More information about the kaffe mailing list