[java-gnome-hackers] Not all byte arrays are strings...
Brought to you by:
afcowie
From: Tom B. <Tom...@Su...> - 2003-03-24 19:22:43
|
The org.gnu.gnome.UIInfo class won't compile on my system because some pixmap buffers were converted to strings, causing multiple overloaded methods with the same signatures. Besides the file not compiling, a more basic issue is that the pixmap arrays are now accessed (and possibly modified) as UTF char sequences, which they aren't. There needs to be two native setPixmapInfo methods, one for pixmaps defined by names (strings), and one defined by pixmap info structures. In general, we need to be alert that only those native API that reference gchars are converted to Java chars and Strings. Tom |