MCPcopy Create free account
hub / github.com/apache/ant / tryHardToDelete

Method tryHardToDelete

src/main/org/apache/tools/ant/util/FileUtils.java:1750–1752  ·  view source on GitHub ↗

Accommodate Windows bug encountered in both Sun and IBM JDKs. Others possible. If the delete does not work, call System.gc(), wait a little and try again. @param f File @return whether deletion was successful @since Ant 1.8.0

(File f)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 10

renameMethod · 0.95
moveFileMethod · 0.80
deleteDirMethod · 0.80
renameFileMethod · 0.80
deleteMethod · 0.80
processFileMethod · 0.80
writeFileMethod · 0.80
executeMethod · 0.80
executeAsForkedMethod · 0.80
copyResourceMethod · 0.80

Calls 2

deleteMethod · 0.65
setWritableMethod · 0.45

Tested by

no test coverage detected