JDK

(str) ArrayIndexOutOfBoundsException when trying to create a String from codePoints