8220793: (fs) No support for changing modification time of symlink

Alan Bateman Alan.Bateman at oracle.com
Thu May 2 15:30:19 UTC 2019


On 02/05/2019 16:21, Brian Burkhalter wrote
> 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;
> +       }
> +
>
It's in the same thing in other tests so I think this is fine.

-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/nio-dev/attachments/20190502/b44c5450/attachment.html>


More information about the nio-dev mailing list