History log of /libcore/luni/src/test/java/libcore/java/text/BreakIteratorTest.java
Revision Date Author Comments
52dfb928ffdae183b91805bb6983f6e6aa87c9af 23-Apr-2011 Elliott Hughes <enh@google.com> DO NOT MERGE Fix java.text.BreakIterator.

BreakIterator was making invalid assumptions about pointer validity. ICU4C's
API is broken, so we have to work around that by pinning for now.

Bug: 4330159

git cherry-pick of aa96cbdcf3a0e303a16bad785c71e2efe417eea0.

Change-Id: I9e5f9827d434dc7940c8d41e5c1e6946ac1fec97
aa96cbdcf3a0e303a16bad785c71e2efe417eea0 23-Apr-2011 Elliott Hughes <enh@google.com> Fix java.text.BreakIterator.

BreakIterator was making invalid assumptions about pointer validity. ICU4C's
API is broken, so we have to work around that by pinning for now.

Bug: 4330159
Change-Id: Ie7454d54240c10096f94462027d07ea258b483b6
b78750f753a3496a694753127c3cc3d2cd80566f 07-Apr-2011 Gilles Debunne <debunne@google.com> BreakIterator offset check modified.

This may be related to http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4177479

An offset equal to the length of the text (cursor located AFTER the last character)
is a valid CharIterator index per the specifications.

Renamed OldBreakIterator and added tests to exercise the changes.
Same behavior as the Reference Implementation.

Change-Id: I7e339bcff0049bde7d04b750c72d45e3f4393186