RFR: (fs) FileSystem.getPathMatcher does not check for ":" at last index [v2]

Brian Burkhalter bpb at openjdk.org
Thu Jul 21 19:17:03 UTC 2022


On Thu, 21 Jul 2022 18:54:04 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

> The IAE message in JrtFileSystem wording is a bit like it is leftover debugging output. The messages for all 4 IAE could be something as simple as "missing pattern".

Not sure a message is needed. At the other extreme one could say "missing syntax" for ":pattern" and "missing pattern" for "syntax:". Or it could be "Parameter does not take the form: syntax:pattern".

-------------

PR: https://git.openjdk.org/jdk/pull/9595


More information about the core-libs-dev mailing list