Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
J9 + Hamony
Description
Use the following test case (which pass on RI) to understand the issue:
import java.text.BreakIterator;
import junit.framework.TestCase;
public class BreakIteratorTest extends TestCase {
private BreakIterator bi;
protected void setUp() throws Exception
{ bi = BreakIterator.getWordInstance(); }protected void tearDown() throws Exception
{ bi = null; }public void testFollowing() throws Exception
{ bi.setText("000 111"); checkWordBounds(2, 0, 3); checkWordBounds(4, 3, 6); checkWordBounds(7, 6, 9); } private void checkWordBounds(final int offset,
final int expectedBeginOffset,
final int expectedEndOffset)
}