String.lastIndexOf confused by unpaired trailing surrogate

Martin Buchholz martinrb at
Tue Mar 23 23:50:20 UTC 2010

I've added another mini-patch to my patch set.

This deletes, as Ulf wants,
except that ... it's another variant of!
(which I didn't know existed)

Uses of Surrogate.neededFor are all now changed to
Character.isSupplementaryCodePoint, as suggested by Ulf.

I intend to fold all of the isBMPCodePoint patches together into one
before I commit them.

Ulf, please review.


More information about the core-libs-dev mailing list