
org.sonar.l10n.squidjava.rules.squid.CallToFileDeleteOnExitMethod.html Maven / Gradle / Ivy
Usage of method File#deleteOnExit() is not recommended for following reasons:
- The deletion occurs only in case of normal JVM shutdown but not when the JVM is killed or crashes
- For each file handler, the memory associated to this handler is released only at the end of the process
© 2015 - 2025 Weber Informatics LLC | Privacy Policy