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
A
t
tachments (0)
Page History
Page Information
Resolved comments
View in Hierarchy
View Source
Export to PDF
Export to Word
Pages
Old Categories
Jira links
3. Reliability
Created by
Carol J. Lallier
, last modified by
David Svoboda
on
Oct 20, 2014
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": 157, "requestCorrelationId": "b4bc25dfbe8afa2f"}