RFR: 8297814: (fs) Re-visit Path.getExtension return value [v2]
Brian Burkhalter
bpb at openjdk.org
Tue Dec 6 22:15:27 UTC 2022
On Tue, 6 Dec 2022 19:12:23 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
>> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8297814: Address reviewer comments
>
> test/jdk/java/nio/file/Path/Extensions.java line 76:
>
>> 74: {"compress.gzip", ".gzip"},
>> 75: {"waitwhat.&$!#%", ".&$!#%"},
>> 76: {"6.283185307", ".283185307"}
>
> For completeness you might also want to include:
>
> a..b
> a..b.c
> a.b..c
> a..b.
> .a..b
> .a..b.c
> .a.b..c
> .a..b.
> ..a..b
> ..a..b.c
> ..a.b..c
> ..a..b.
>
> These tests are cheap :-)
Added in af0980652e88297166251d44dd7d0ae79b8e6633.
-------------
PR: https://git.openjdk.org/jdk/pull/11545
More information about the nio-dev
mailing list