Re: RFR: 8312411: MessageFormat.formatToCharacterIterator() can be improved

2023-07-26 Thread Naoto Sato
On Wed, 26 Jul 2023 07:39:09 GMT, Justin Lu wrote: > Please review this change which makes > `MessageFormat.formatToCharacterIterator` fail fast(er). The return statement > is also modified to call toArray() as `toArray(new T[0])` over `toArray(new > T[size])`. Marked as reviewed by naoto (R

RFR: 8312411: MessageFormat.formatToCharacterIterator() can be improved

2023-07-26 Thread Justin Lu
Please review this change which makes `MessageFormat.formatToCharacterIterator` fail fast(er). The return statement is also modified to call toArray() as `toArray(new T[0])` over `toArray(new T[size])`. - Commit messages: - Initial commit Changes: https://git.openjdk.org/jdk/pull