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
5. Programmer Misconceptions
Skip to end of metadata
Created by
Carol J. Lallier
, last modified by
David Svoboda
on
Oct 20, 2014
Go to start of metadata
Programmer Misconceptions: Introduction
Page:
CON50-J. Do not assume that declaring a reference volatile guarantees safe publication of the members of the referenced object
Page:
CON51-J. Do not assume that the sleep(), yield(), or getState() methods provide synchronization semantics
Page:
EXP50-J. Do not confuse abstract object equality with reference equality
Page:
EXP54-J. Understand the differences between bitwise and logical operators
Page:
FIO53-J. Use the serialization methods writeUnshared() and readUnshared() with care
Page:
IDS55-J. Understand how escape characters are interpreted when strings are loaded
Page:
MET51-J. Do not use overloaded methods to differentiate between runtime types
Page:
NUM51-J. Do not assume that the remainder operator always returns a nonnegative result for integral operands
Page:
OBJ50-J. Never confuse the immutability of a reference with that of the referenced object
Page:
OBJ54-J. Do not attempt to help the garbage collector by setting local reference variables to null
section
Overview
Content Tools
{"serverDuration": 77, "requestCorrelationId": "bb9569d0ba2e2e36"}