[kaffe] Re: KJC bug preventing Ant 1.6.0 bootstrap

Guilhem Lavaux guilhem.lavaux at free.fr
Mon Jan 5 13:10:02 PST 2004


Thomas Graf wrote:

>Dear Dalibor,
>
>On Sat, 2004-01-03 at 12:09, 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.
>>    
>>
>We were not able to reproduce this error with the current CVS version of
>KJC; the version of KJC dated April 20, 2002 from the Kaffe CVS tree
>(libraries/javalib/kjc.jar) compiles the test program provided by
>Guilhem on this mailing list without error; however the current version
>of KJC in the Kaffe CVS tree fails: it appears that one of the patches
>and workarounds added to the Kaffe version of KJC causes this error.
>
>
>  
>
The error is caused by the second static initializer checking (patch 
sent by Ito Kazumitsu):
"Added kaffe-extras/patches/kjc-main-checkInitializers.diff.
This is to prevent some constant fields from being left unset."

As I've already said, this second checking causes a confusion with 
updated variables in KJC. I bet we should remove it and replace with 
another one. Once I have some time free I'll dig into it another time.

Cheers,
Guilhem.






More information about the kaffe mailing list