Patch for kjas
Koos Vriezen
koos.vriezen at xs4all.nl
Sat Dec 6 15:52:03 GMT 2003
On Sat, 6 Dec 2003, Richard Moore wrote:
> On Saturday 06 December 2003 13:41, Koos Vriezen wrote:
> > - objid are in liveconnect stored as unsigned long, but in kjas as int. I
> > had a NumberCastException, because of a negative objid was passed as an
> > int that was > Integer.MAXVALUE.
>
> The change for this will stop the error, but will that be enough? I wonder if
> we need to ensure the ids never get that big?
It's the object's hashCode() (don't exactly remember why I changed that
btw.). But it's enough, a signed 32 bit java int stored in a unsigned
32/64 bit c++ long, will always keep it's value afaics.
>
> The rest of the patch looks good.
>
> Rich.
>
>
More information about the kfm-devel
mailing list