Patch for kjas

Richard Moore rich at xmelegance.org
Sat Dec 6 16:02:42 GMT 2003


On Saturday 06 December 2003 15:52, Koos Vriezen wrote:
> 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.

Yes, that's true. Ok, then it all looks good to me.

Rich.





More information about the kfm-devel mailing list