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

Alan Bateman alanb at openjdk.org
Mon Aug 1 06:09:39 UTC 2022


On Fri, 29 Jul 2022 16:02:54 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Is there anything else to be done in this PR? Thanks.

It looks like this issue has changed from the original bug report and now rejects the empty pattern with IAE. This is a behavior change (and probably the right behavior) but I think will require a small update to the javadoc to make it clear that both an empty syntax and empty pattern are illegal.

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

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


More information about the nio-dev mailing list