Bug Fix - support.c javaString2CString
James Dempsey
jamesd at spirit.com.au
Wed Apr 23 23:53:02 PDT 1997
javaString2CString in kaffevm/support.c currently doesn't recognise a null
java string. This means that it tries to use the data in the structure anyway.
On the Amiga, this leads to long waits and possibly freezing the computer.
To fix this, add the following lines at the start of the javaString2CString
function. Sorry about the format, I haven't mastered diff yet...
if (js == NULL)
{
cs[0] = 0;
return(cs);
}
Bye,
James Dempsey
------------------------------------------------------------------------------
email: jamesd at spirit.com.au | Neptune, Titan, stars can frighten!
WWW: http://www.spirit.com.au/~jamesd | Astronomy Domine - Pink Floyd
More information about the kaffe
mailing list