On Mon, 1 Aug 2022 16:13:49 GMT, Brian Burkhalter <b...@openjdk.org> wrote:
> I read the existing specification > > ``` > * @throws IllegalArgumentException > * If the parameter does not take the form: {@code > syntax:pattern} > ``` > > as covering both cases, but I suppose one could explicitly state that > "neither syntax nor pattern may be empty." Alternatively, change "where ':' stands for itself" to "where syntax and pattern components are non-empty strings and ':' stands for itself" sot that it's up front when the input string is described. ------------- PR: https://git.openjdk.org/jdk/pull/9595