A method with return type size_t returns negative value
Alan Bateman
Alan.Bateman at oracle.com
Thu Nov 24 18:03:03 UTC 2011
On 15/11/2011 08:09, Jing Lv wrote:
> Hello,
>
> I search the E:\workspace\openjdk\jdk\src\windows\native but find
> nothing similar (please tell me if I miss something), so I suggest we
> have a quick fix for now, like:
Sorry for the delay getting back to you on this.
I think jint would be better than SSIZE_T as jint is how the
JVM_Read/Write functions are defined, it matches the parameters and it's
what the callers expect too.
So here's the webrev with it changed to jint:
http://cr.openjdk.java.net/~alanb/7030624/webrev/
I had hoped we would fix this with other clean-up but the other clean-up
can wait. I'm still curious how you ran into this as I don't think there
is a problem with the generated code (at least not with the Microsoft
compilers).
-Alan.
More information about the core-libs-dev
mailing list