[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug #750] java.text.CollationElementIterator.next() is broken
From: |
nobody |
Subject: |
[Bug #750] java.text.CollationElementIterator.next() is broken |
Date: |
Tue, 02 Jul 2002 14:51:23 -0400 |
=================== BUG #750: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=750&group_id=85
Changes by: Tom Tromey <address@hidden>
Date: 2002-Jul-02 18:51 (GMT)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Duplicate
Assigned to | None | tromey
Status | Open | Closed
------------------ Additional Follow-up Comments ----------------------------
Duplicate of 744
=================== BUG #750: FULL BUG SNAPSHOT ===================
Submitted by: None Project: classpath
Submitted on: 2002-Jun-25 14:06
Severity: 5 - Major Resolution: Duplicate
Assigned to: tromey Status: Closed
Platform Version: Red Hat 7.x
Summary: java.text.CollationElementIterator.next() is broken
Original Submission: The "pos" field is being incremented before the value of
the character at that position is queried. Also, this causes a
StringIndexOutOfBoundsException for zero-length strings.
I would suggest changing the method to work as follows:
1. test pos against string length, if at end return NULLORDER
2. get value of character
3. increment pos
4. Compute the return value and return it
I'm using a CVS version of classpath checked out on June 23rd, 2002.
Follow-up Comments
*******************
-------------------------------------------------------
Date: 2002-Jul-02 18:51 By: tromey
Duplicate of 744
No files currently attached
For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=750&group_id=85
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug #750] java.text.CollationElementIterator.next() is broken,
nobody <=