Skip to main content
assistive.skiplink.to.breadcrumbs
assistive.skiplink.to.header.menu
assistive.skiplink.to.action.menu
assistive.skiplink.to.quick.search
Log in
Confluence
Spaces
Hit enter to search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
Available Gadgets
About Confluence
Log in
SEI CERT Oracle Coding Standard for Java
Pages
Boards
Space shortcuts
Dashboard
Secure Coding Home
Android
C
C++
Java
Perl
Page tree
Browse pages
Configure
Space tools
View Page
A
t
tachments (0)
Page History
Page Information
View in Hierarchy
View Source
Export to PDF
Export to Word
Pages
…
SEI CERT Oracle Coding Standard for Java
2 Rules
Rule 13. Input Output (FIO)
FIO04-J. Release resources when they are no longer needed
Page Information
Title:
FIO04-J. Release resources when they are no longer needed
Author:
Siddarth Adukia
Nov 08, 2008
Last Changed by:
Jon O'Donnell
Aug 06, 2021
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/vjdGBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT Oracle Coding Standard for Java (5)
Page:
FIO05-J. Do not expose buffers or their backing arrays methods to untrusted code
Page:
LCK08-J. Ensure actively held locks are released on exceptional conditions
Page:
ERR01-J. Do not allow exceptions to expose sensitive information
Page:
MET12-J. Do not use finalizers
Page:
FIO03-J. Remove temporary files before termination
SEI CERT C Coding Standard (1)
Page:
FIO22-C. Close files before spawning processes
Hierarchy
Parent Page
Page:
Rule 13. Input Output (FIO)
Labels
Global Labels (11)
cwe-405
cwe-459
cwe-770
fio
android
resource-exhaustion
java7
rule
android-implementation-detail-java
analyzable
cwe-404
Recent Changes
Time
Editor
Aug 06, 2021 08:53
Jon O'Donnell
View Changes
May 18, 2021 07:55
Michal Rozenau
View Changes
Parasoft Jtest 2021.1
Feb 26, 2021 17:12
Michal Rozenau
View Changes
Parasoft Jtest 2020.2
Feb 26, 2021 09:37
Michal Rozenau
View Changes
Parasoft Jtest 2020.2
Feb 12, 2018 22:02
Will Snavely
View Page History
Outgoing Links
External Links (11)
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…
cwe.mitre.org/data/definitions/404.html
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
SEI CERT C++ Coding Standard (2)
Page:
FIO51-CPP. Close files when they are no longer needed
Home page:
SEI CERT C++ Coding Standard
SEI CERT Oracle Coding Standard for Java (12)
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:
Rule BB. Glossary
Page:
ERR05-J. Do not let checked exceptions escape from a finally block
Page:
SonarQube
Page:
Coverity
Page:
Parasoft
Page:
SonarQube_V
Page:
Rule AA. References
SEI CERT C Coding Standard (3)
Home page:
SEI CERT C Coding Standard
Page:
FIO22-C. Close files before spawning processes
Page:
CodeSonar
Overview
Content Tools
{"serverDuration": 88, "requestCorrelationId": "f0bc10f5abc8c448"}