On Mon, 10 Jun 2024 13:36:06 GMT, Robert Toyonaga <d...@openjdk.org> wrote:

> But what about when an int is passed to isspace?

The current casts to int are incorrect as a negative value would be 
sign-extended and then fail the range check. I think we have to cast to 
unsigned char in all cases in the caller, which renders the wrapper and 
range-check obsolete AFAICS.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/19567#issuecomment-2159586765

Reply via email to