JDK 24 |
---|
24 b13Fixed |
Relates :
|
|
Relates :
|
The code has: if ((int)strlen(name) > Symbol::max_length()) { when it should have if (strlen(name) > (size_t)Symbol::max_length()) { otherwise string lengths > INT_MAX will give a negative result and so fail the comparison and so not get caught as being too long.
|