Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8360364

Files.createSymbolicLink should allow explicitly creating a directory symlink

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • core-libs
    • generic
    • windows

      A DESCRIPTION OF THE PROBLEM :
      Windows has directory symlinks and non-directory symlinks. WindowsFileSystemProvider.createSymbolicLink stats the link target to determine which kind of link it should create. Ideally, though, one would be able to explicitly specify the type of symbolic link needed when calling Files.createSymbolicLink.

      A way to do this without adding new methods would be to add a FileAttribute indicating the link type.


            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: