Bug Fix - support.c javaString2CString
James Dempsey
kaffe@kaffe.org
Wed, 23 Apr 97 23:53:02
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@spirit.com.au | Neptune, Titan, stars can frighten!
WWW: http://www.spirit.com.au/~jamesd | Astronomy Domine - Pink Floyd