Project

Profile

Help

Bug #2493

closed

FastStringBuffer.getCharArray()

Added by Michael Kay over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Internals
Sprint/Milestone:
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.

Please register to edit this issue

Also available in: Atom PDF