On Wed, 16 Oct 2024 22:48:58 GMT, Justin Lu <j...@openjdk.org> wrote:
> Please review this PR which specifies the _j.text.MessageFormat_ > ArgumentIndex limit. A corresponding CSR is drafted. > > Both the existence of the limit (and behavior if violated), as well as this > implementation's limit are added to the class description. See the JBS issue > comments for further history. src/java.base/share/classes/java/text/MessageFormat.java line 127: > 125: * not shown in the table are illegal. A <i>SubformatPattern</i> must > 126: * be a valid pattern string for the {@code Format} subclass used. > 127: * @implSpec For this implementation, the limit of <b>ArgumentIndex</b> > is 10,000 I don't think the number should be *specified*; it would be fine as an implementation note. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/21554#discussion_r1804852671