On Mon, 1 Aug 2022 06:07:29 GMT, Alan Bateman <[email protected]> wrote:
> [...] I think will require a small update to the javadoc to make it clear
> that both an empty syntax and empty pattern are illegal.
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."
-------------
PR: https://git.openjdk.org/jdk/pull/9595