MCPcopy Create free account
hub / github.com/davidgiven/luje / deleteOnExit

Method deleteOnExit

lib/java/io/File.java:404–411  ·  view source on GitHub ↗

Schedules this file to be automatically deleted once the virtual machine terminates. This will only happen when the virtual machine terminates normally as described by the Java Language Specification section 12.9. @throws SecurityException if a SecurityManager is installed and i

()

Source from the content-addressed store, hash-verified

402 * request.
403 */
404 public void deleteOnExit() {
405// SecurityManager security = System.getSecurityManager();
406// if (security != null) {
407// security.checkDelete(path);
408// }
409
410 DeleteOnExit.addFile(Util.toUTF8String(properPath(true)));
411 }
412
413 /**
414 * Compares {@code obj} to this file and returns {@code true} if they

Callers

nothing calls this directly

Calls 3

addFileMethod · 0.95
toUTF8StringMethod · 0.95
properPathMethod · 0.95

Tested by

no test coverage detected