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
()
| 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 |
nothing calls this directly
no test coverage detected