I note that other codepoint-consuming methods, such as
Character.toChars(cp, char, int)
all throw IAE with no message. It would be nice to add messages to them. It
would be even nicer to print out the offending value, possibly even in hex.
Indeed, there are several other places in Character.java where exceptions are
thrown that lack diagnostic information. Maybe as part of a separate cleanup pass?
On 3/2/18 3:37 PM, naoto.s...@oracle.com wrote:
Thanks for comments, Martin, Roger. Updated the fix as follows:
On 3/1/18 6:47 PM, naoto.s...@oracle.com wrote:
Please review the fix to the following issue:
The proposed changeset is located at:
This stems from the recent discussion regarding String.repeat(). The
corresponding CSR has already been approved.