[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] RFC: Fix for a java.text.AttributedStringIterator.runLimit
From: |
Ziga Mahkovec |
Subject: |
[cp-patches] RFC: Fix for a java.text.AttributedStringIterator.runLimit range bug |
Date: |
Mon, 13 Jun 2005 19:57:25 +0200 |
According to the java.text.AttributedCharacterIterator Javadoc:
"The returned indexes are limited to the range of the iterator."
Also, for runLimit it says:
"Returns the index of the first character following the run with respect
to the given attribute containing the current character."
Neither of these conditions were met for the AttributedStringIterator
implementation. This manifested itself as an infinite loop in Apache
Batik. I committed the corresponding Mauve test.
OK to commit?
--
Ziga
2005-06-13 Ziga Mahkovec <address@hidden>
* java/text/AttributedStringIterator.java (getRunLimit): Fixed the
range of the returned indexes.
asi-runlimit.patch
Description: Text Data
- [cp-patches] RFC: Fix for a java.text.AttributedStringIterator.runLimit range bug,
Ziga Mahkovec <=