RFR: 8057113: (fs) Path should have a method to obtain the filename extension [v14]
Brian Burkhalter
bpb at openjdk.org
Mon Aug 1 21:56:19 UTC 2022
On Thu, 28 Jul 2022 18:10:49 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> src/java.base/share/classes/java/nio/file/Path.java line 102:
>>
>>> 100: * Otherwise stated, the internal representation might not be recoverable
>>> 101: * from the derived path string. This applies to the {@code Path} as a whole
>>> 102: * as well as to its components.
>>
>> This comment doesn't seem specific to the enhancement proposed.
>> And its a bit vague, if/when included it might benefit from an example or mentioning the character set encoding of file names, if that's the context.
>
> I am wondering now whether this note would just add unnecessary confusion.
Removed confusing, vague API note in 198ab9a8ca1c05514abec932cd55d0b8597121d8.
-------------
PR: https://git.openjdk.org/jdk/pull/8066
More information about the nio-dev
mailing list