[kaffe] Kaffe compilation with Nano-X awt interface

Dalibor Topic robilad at kaffe.org
Wed Sep 28 10:13:05 PDT 2005


Gianluca Moro wrote:
> hi all,
> 
> I'm testing kaffe 1.1.5 with the AWT backend for Nano-X
> on a MIPS machine.
> 
> (I'm updating the situation from my last email with
> the results of the ongoing test...)
> 
> I'm getting a very weird behaviour: if I start a demo
> (just open a window and set a green background) it starts
> with no errors, and stay there: 1 time in (about) 30
> the windows appear on the LCD: the other times I do
> not see nothing!!!
> 
> Same behaviour with another program: both programs on PC 
> works perfectly.
> 
> Does anyone have an idea of what can cause such a behaviour:
> why the program starts correctly just sometimes?
> Could be some race condition in the VM?

that sounds like a race condition somewhere :( You may want to check
what happens during a successful startup vs a fialing startup and try to
add 'synchronized' keyword in the class library for awt backend for
nanox where it turns out be appropriate :(

cheers,
dalibor topic



More information about the kaffe mailing list