-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 25
-
Component/s: core-libs
-
b24
-
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.
- csr for
-
JDK-8356196 File.delete removes read-only files (win)
-
- Closed
-
- relates to
-
JDK-8355663 Files::delete throws exception for read-only files on DOS file systems
-
- Closed
-
- links to
-
Commit(master)
openjdk/jdk/bcf5cd69
-
Review(master)
openjdk/jdk/24977