RFR: 8350654: (fs) Files.createTempDirectory should say something about the default file permissions when no file attributes specified [v2]
Brian Burkhalter
bpb at openjdk.org
Thu Feb 27 17:16:35 UTC 2025
On Thu, 27 Feb 2025 16:42:24 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> src/java.base/share/classes/java/nio/file/Files.java line 865:
>>
>>> 863: * the last occurrence is ignored. When no file attributes are specified,
>>> 864: * then the resulting directory may have more restrictive access
>>> 865: * permissions to (non-temporary) directories created by the
>>
>> I re-read the text again and I think it would be better to drop "non-temporary" from this sentence. It would read better without it, and avoids introducing a new term.
>
> I was actually unsure of that also; will change.
> it would be better to drop "non-temporary"
So changed in b99cf8f and CSR updated to match.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23808#discussion_r1974016700
More information about the nio-dev
mailing list