Is there a limit to the number of patterns in MessageFormat? I'm
getting an "IllegalArgumentException: argument number too large" when
there are more than 10 patterns. For example,
Object[] args = { "." };
String msg = "{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}";
System.out.println( MessageFormat.format(msg, args) );
will cause the exception. If I remove one of the {0}, then it works
OK. Is this a known limitation, and is there another workaround,
other than to break it up into chunks with less than 10 patterns?