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

File.delete removes read-only files (win)

XMLWordPrintable

    • In Review
    • generic
    • windows

      On Windows, before attempting to delete a file, File.delete removes the read-only attribute of the file. This should not be done, instead the return value should be false if the read-only attribute is set and the file not deleted. This modified behavior should become the default and there should be a compatibility property available to restore legacy behavior if desired.

            bpb Brian Burkhalter
            bpb Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: