-
Bug
-
Resolution: Unresolved
-
P4
-
25
-
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.
- relates to
-
JDK-8355663 Files::delete throws exception for read-only files on DOS file systems
-
- Open
-
- links to
-
Review(master) openjdk/jdk/24977