RFR: 8298318: (fs) APIs for handling filename extensions [v4]
Brian Burkhalter
bpb at openjdk.org
Thu Mar 7 21:16:55 UTC 2024
On Thu, 7 Mar 2024 20:33:36 GMT, Louis Bergelson <duke at openjdk.org> wrote:
>> test/jdk/java/nio/file/Path/Extensions.java line 81:
>>
>>> 79: {"compress.gzip", "gzip"},
>>> 80: {"waitwhat.&$!#%", "&$!#%"},
>>> 81: {"6.283185307", "283185307"}
>>
>> The behavior of these test cases is good, these are the expected results of getExtension().
>
> These should probably include some compound extensions as well? ex: "archive.tar.gz"
There is already line 75, "foo.tar.gz."
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16226#discussion_r1516840878
More information about the nio-dev
mailing list