8220793: (fs) No support for changing modification time of symlink
Brian Burkhalter
brian.burkhalter at oracle.com
Thu May 2 15:21:21 UTC 2019
> On May 2, 2019, at 8:10 AM, Alan Bateman <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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/nio-dev/attachments/20190502/57a470ec/attachment.html>
More information about the nio-dev
mailing list