Integrated: 8307887: (fs) Files.createSymbolicLink throws less specific exception when in developer mode and file already exists

Brian Burkhalter bpb at openjdk.org
Tue Jun 6 15:18:08 UTC 2023


On Thu, 1 Jun 2023 01:39:16 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> If the second attempt to create the link fails, throw the exception referring to the last error if it is anything other than due to lack of link creation privilege or failure to recognize the flag for unprivileged link creation.

This pull request has now been integrated.

Changeset: d709c25c
Author:    Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d709c25cbfdb0be007d3f800f7eddccce965809a
Stats:     54 lines in 4 files changed: 30 ins; 13 del; 11 mod

8307887: (fs) Files.createSymbolicLink throws less specific exception when in developer mode and file already exists

Reviewed-by: alanb

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

PR: https://git.openjdk.org/jdk/pull/14255


More information about the nio-dev mailing list