RFR: 8290047: (fs) FileSystem.getPathMatcher does not check for ":" at last index [v4]
Brian Burkhalter
bpb at openjdk.org
Tue Aug 2 17:08:08 UTC 2022
On Tue, 2 Aug 2022 17:01:57 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> src/java.base/share/classes/java/nio/file/FileSystem.java line 307:
>>
>>> 305: * <i>syntax</i><b>:</b><i>pattern</i>
>>> 306: * </pre></blockquote>
>>> 307: * where <i>syntax</i> must not be empty and {@code ':'} stands for itself.
>>
>> We could flesh this out a bit more with something like:
>>
>> "where <i>syntax</i> is the non-empty name of the syntax, <i>pattern</i> is a possibly-empty pattern string, and {@code ':'} stands for itself."
>
> That is better.
So changed in b9de2604b74c1082c6b0fa10435405120b971e93.
-------------
PR: https://git.openjdk.org/jdk/pull/9595
More information about the core-libs-dev
mailing list