Kaffe jvm failing with matchbox-0.8.1

Anil S <[email protected]> Thu, 18 Nov 2004 15:50:50 +0530
Newsgroups gmane.comp.handhelds.matchbox
Message-ID <[email protected]>
Hi,


We are in the process of cross-building the kaffe jvm to an embedded 
system that runs embedded linux on StrongARM cpu.  We are using 
matchbox-0.8.1 (matchbox-window-manager, matchbox-panel, 
matchbox-desktop etc.) as the windowing environment on top of Xfree86- 
4.4.0. We could successfully build and deploy the kaffe  libraries and 
environment in our device. But during the testing we observed that kaffe 
is failing to load java classes that requires AWT support. The explation 
of this behaviour is given below.

We tried an application MenuTest.class to test the AWT components and 
features like Menubar, Pack, and Repaint. All these are running fine on 
an X86 linux box with the same kaffe source.

But the kaffe is throwing null pointer execptions when trying to add 
Notification Handlers. This is usually handled by the window manager, 
hence the focus shifted to window manager.


1.We disabled all the window managers running on the device and just had 
the plain X server running. Then we ran the MenuTest.class application. 
The application started running successfully.
2. We enabled the TWM Window manager which is a plain X based window 
manager and then run the application. It ran successfully.
3. We enabled the matchbox window manager only and disabled the other 
utilities which comes along with it like the desktop and the panel. The 
application ran successfully.
4. We then enabled one of the utilities, panel and then tried to run the 
application and found that it failed. Similarly we tried desktop and 
other utilities, in all cases kaffe failed.

We have come to a conclusion that there is a problem with the matchbox 
window manager utilities.  Can somebody please help us to resolve this 
issue.


Thanks and regards,
Anil S
Encore Software Ltd.
Bangalore