Honestly I cannot judge whether that is OK or not, because I don't know
the original intention of the comment I quoted in the previous mail.
Maybe there were some corner cases and that's what I wanted to know.
Maybe asking the original authors of the code (at Apple?) about this
would help?
Na
Hi Naoto,
I think it may affect some Chinese symbols, which are represented by 2
Java-characters, but I don't have a corresponding keyboard to check. I
could modify the fix: create jstring before the if-statement and check
for its length. This looks safe and helps to determine a complex (in
Java t