using Kaffe AWT under another JVM
peter at transvirtual.com
peter at transvirtual.com
Tue Oct 6 04:54:37 PDT 1998
Since the "other JVM" most probably is the JDK, the main issue is to replace
the "Ptr" fields (e.g. in Window) by "int", modify the native lib accordingly
(mainly wnd.c, evt.c). This is required because the JDK uses handles instead of
address references.
The blocked getNextEvent (by means of SIGIO) probably doesn't work with
green_threads, so you have to revert to polling.
Otherwise, it should be possible if the JNI system of the "other" VM does work
(and has static native synchronized methods).
-- Peter
More information about the kaffe
mailing list