Actions
Bug #2493
closedFastStringBuffer.getCharArray()
Start date:
2015-11-07
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
9.6
Fix Committed on Branch:
9.6
Fixed in Maintenance Release:
Platforms:
Description
The method FastStringBuffer.getCharArray() is incorrect; if the number of characters used in the buffer is less than the size of the buffer, it returns an array the length of the original buffer.
I have not determined any adverse consequences of this bug in 9.6, but new use of this method exposes the bug on the 9.7 branch.
Updated by Michael Kay about 9 years ago
- Project changed from 4 to Saxon
- Category set to Internals
- Status changed from New to Resolved
A patch has been committed on the 9.6 and 9.7 branches. In 9.7 I have renamed the method toCharArray() for consistency with java.lang.String.
Updated by O'Neil Delpratt almost 9 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in version set to 9.6.0.8
Bug fix applied in the Saxon 9.6.0.8 maintenance release
Updated by O'Neil Delpratt almost 9 years ago
- Applies to branch 9.6 added
- Fix Committed on Branch 9.6 added
- Fixed in Maintenance Release 9.6.0.8 added
Please register to edit this issue
Actions