Title: FIO04-J. Release resources when they are no longer needed  
Author: Siddarth Adukia Nov 08, 2008
Last Changed by: Valery Jun 11, 2025
Tiny Link: (useful for email) https://wiki.sei.cmu.edu/confluence/x/vjdGBQ
Export As: Word · PDF  
Hierarchy
Parent Page
    Page: Rule 13. Input Output (FIO)
Outgoing Links
External Links (13)
    https://pvs-studio.com/en/docs/warnings/V6127/
    https://www.sonarsource.com/products/codeanalyzers/sonarjav…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    cwe.mitre.org/data/definitions/405.html
    cwe.mitre.org/data/definitions/770.html
    cwe.mitre.org/
    java.io
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://docs.oracle.com/javase/8/docs/api/java/lang/Object.…
    cwe.mitre.org/data/definitions/459.html
    cwe.mitre.org/data/definitions/404.html
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/display/java/PVS-Studio
SEI CERT C Coding Standard (2)     Home page: SEI CERT C Coding Standard
    Page: FIO22-C. Close files before spawning processes
SEI CERT Oracle Coding Standard for Java (14)     Page: MET12-J. Do not use finalizers
    Page: CodeSonar_V
    Page: FIO03-J. Remove temporary files before termination
    Page: Parasoft_V
    Home page: SEI CERT Oracle Coding Standard for Java
    Page: PVS-Studio_V
    Page: Rule BB. Glossary
    Page: ERR05-J. Do not let checked exceptions escape from a finally block
    Page: SonarQube
    Page: Coverity
    Page: Parasoft
    Page: CodeSonar
    Page: SonarQube_V
    Page: Rule AA. References
SEI CERT C++ Coding Standard (2)     Page: FIO51-CPP. Close files when they are no longer needed
    Home page: SEI CERT C++ Coding Standard