Revised to reflect requested changes. http://cr.openjdk.java.net/~jlaskey/8230744/webrev-01/index.html <http://cr.openjdk.java.net/~jlaskey/8230744/webrev-01/index.html>
> On Jun 1, 2020, at 5:40 PM, Martin Buchholz <marti...@google.com> wrote: > > On Mon, Jun 1, 2020 at 1:37 PM Brent Christian > <brent.christ...@oracle.com> wrote: > >> "Unable to allocate buffer" seems vague in the context of an OOME. If >> the problem is trying to create a too-large array, maybe something like, >> "Buffer for \\Q...\\E sequence would exceed maximum array size". > > A generic message that does not necessarily expose the use of an > internal array seems best, e.g. > > "... exceeds implementation limits"