The javadoc for String.trim() incorrectly links to Character.isSpace(char)
for the definition of whitespace. This is incorrect; in fact String.trim()
has its own definition of whitespace that has nothing to do with
Character.isSpace(char).
for the definition of whitespace. This is incorrect; in fact String.trim()
has its own definition of whitespace that has nothing to do with
Character.isSpace(char).
- relates to
-
JDK-4080617 API: String.trim() method not working for all Unicode characters with SPACE prop
-
- Closed
-