A method with return type size_t returns negative value

Alan Bateman Alan.Bateman at oracle.com
Tue Nov 29 16:19:54 UTC 2011

On 28/11/2011 08:36, Jing Lv wrote:
> Hello Alan,
>     I am fine with the fix on the webrev, suppose it would be applied 
> later?
>     I don't remember (as it's been a long time) exactly I found the 
> issue, maybe some code scan or some strong compiler :)
>     (Problem with my mail server so I can only see your mail on 
> website archive)
Okay, I think we should go with the changes that I have in the webrev:


Could I get a reviewer for this? As a reminder, the issue that Jing has 
brought up a few times is that this code is using size_t which is 
unsigned. The changes in the webrev change the return type to jint.


More information about the core-libs-dev mailing list