[kaffe] NEWS: GNU Classpath's AWT/Swing now runs on KaffeVM.

jserv at linux2.cc.ntu.edu.tw jserv at linux2.cc.ntu.edu.tw
Tue Jun 1 00:11:02 PDT 2004


Due to big changes in GNU Classpath of 2004-05-31, I updated my tarball
to adapt it accordingly. However, there are some notes to be mentioned:

  (1) javax/swing/JComponent.java uses holdsLock() method in 
      java.lang.Thread to handle double-buffering, but Kaffe lacks it.

  (2) Java2D implementation in GNU Classpath makes use of much newer
      version of Cairo, but the one shipped with some Linux ditributions
      is a bit old.

In my tarball, remove-holdslock.diff solves the (1) and (2) can be fixed
with fix-gtkcairopeer.diff. Another way to solve (1) is to implement it,
but I have no idea how it should exactly be implemented, so that I did
a dummy one[1].

On Fri, May 21, 2004 at 12:48:48PM +0800, jserv at linux2.cc.ntu.edu.tw wrote:
> I updated my tarball to adapt Kaffe's recent -Xbooclasspath option
> support in CVS. Here are my instructions:
> 1. Obtain my tarball
>   # wget http://jserv.sayya.org/kaffe/cpawt-kaffe.tgz
> 2. Modify the config file according to Kaffe's $JAVA_HOME
>   # vi config
> 3. Build (NOTE: You should use cvs version of Kaffe.)
>   # sh build
> 4. Run the AWT demo shipped with Kaffe
>   # cd src/clib
>   # ./run.sh

The instructions are still necessary to build GNU Classpath's AWT/Swing
on Kaffe. I am really glad to see the gtk-peer is going to be merged in
next release of Kaffe.

cheers,
Jim Huang

[1] http://www.kaffe.org/pipermail/kaffe/2004-May/046414.html




More information about the kaffe mailing list