8220793: (fs) No support for changing modification time of symlink
Jan Schlößin
jan.schloessin at incasoft.de
Thu May 2 16:34:59 UTC 2019
Hi,
it's a bit off topic. But do you guys have in mind, that windows
supports symlinks, too? Since "Windows 10 build 14972" you can create
them without being admin.
https://blogs.windows.com/buildingapps/2016/12/02/symlinks-windows-10/
Thanks,
Jan
Brian Burkhalter schrieb:
>
>> On May 2, 2019, at 8:10 AM, Alan Bateman <Alan.Bateman at oracle.com
>> <mailto:Alan.Bateman at oracle.com>> wrote:
>>
>> Yes but no need to check os.name. You'll see examples in other tests.
>
> I was wondering about that. Changed:
>
> --- a/test/jdk/java/nio/file/Files/SymlinkTime.java
> +++ b/test/jdk/java/nio/file/Files/SymlinkTime.java
> @@ -41,6 +41,11 @@
> public class SymlinkTime {
> public static void main(String[] args) throws IOException {
> Path dir = TestUtil.createTemporaryDirectory();
> + if (!TestUtil.supportsLinks(dir)) {
> + System.out.println("Links not supported: skipping test");
> + return;
> + }
> +
>
> Thanks,
>
> Brian
More information about the nio-dev
mailing list