should not jint be as wide as void* ?
Greg Lewis
glewis at eyesbeyond.com
Tue Aug 9 05:20:49 GMT 2005
On Sat, Aug 06, 2005 at 01:05:41AM -0400, Mikhail T. wrote:
> Looking deep into Mozilla's LiveConnect sources (under
> mozilla/sun-java/stubs/include/) I gather, jint really
> wants to be intptr_t -- not a mere int as, for example,
> jdk1.5.0/include/freebsd/jni_md.h makes it out to be.
>
> Can anyone comment? Thanks!
I'm doing a build of the current CVS on FreeBSD 5.4/amd64 at the moment.
It hasn't gotten to the plugin build yet, but I'll be interested to see
(a) if there are warnings about pointer widths and (b) if it works :).
Until then, its worth noting that the Linux amd64 release from Sun
(1.5.0_04) still has jint defined as int. It appears that Solaris in
64 bit mode also still has jint defined as an int. This raises some
questions in terms of compatibility for us to change it to be something
other than an int.
--
Greg Lewis Email : glewis at eyesbeyond.com
Eyes Beyond Web : http://www.eyesbeyond.com
Information Technology FreeBSD : glewis at FreeBSD.org
More information about the freebsd-gnome
mailing list