RFR: 8190546: File.toPath() reject directory names with trailing space

Maxim Kartashev mkartashev at openjdk.java.net
Thu May 19 14:31:47 UTC 2022


On Thu, 19 May 2022 13:28:50 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> The rejecting of file paths with tailing paths is intentional and important for security reasons.

OK, but can you be more specific, please? Or some security bugs are involved, which you are not at liberty to discuss?

-------------

PR: https://git.openjdk.java.net/jdk/pull/8788


More information about the nio-dev mailing list