Skip to content
Skip to breadcrumbs
Skip to header menu
Skip to action menu
Skip to quick search
Confluence
Spaces
Hit enter to search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
Available Gadgets
About Confluence
Log in
Sign up
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
A
t
tachments (0)
Page History
Page Information
Resolved comments
View in Hierarchy
View Source
Export to PDF
Export to Word
Pages
Old Categories
Skip to end of banner
Jira links
Go to start of banner
3. Reliability
Skip to end of metadata
Created by
Carol J. Lallier
, last modified by
David Svoboda
on
Oct 20, 2014
Go to start of metadata
Reliability: Introduction
Page:
DCL51-J. Do not shadow or obscure identifiers in subscopes
Page:
DCL52-J. Do not declare more than one variable per declaration
Page:
DCL54-J. Use meaningful symbolic constants to represent literal values in program logic
Page:
DCL55-J. Properly encode relationships in constant definitions
Page:
ERR50-J. Use exceptions only for exceptional conditions
Page:
ERR54-J. Use a try-with-resources statement to safely handle closeable resources
Page:
EXP55-J. Use the same type for the second and third operands in conditional expressions
Page:
MET55-J. Return an empty array or collection instead of a null value for methods that return an array or collection
Page:
MSC58-J. Prefer using iterators over enumerations
Page:
MSC60-J. Do not use assertions to verify the absence of runtime errors
Page:
OBJ53-J. Do not use direct buffers for short-lived, infrequently used objects
Page:
OBJ55-J. Remove short-lived objects from long-lived container objects
Page:
SEC56-J. Do not serialize direct handles to system resources
section
Overview
Content Tools
{"serverDuration": 80, "requestCorrelationId": "f0d578cbf276bb5a"}