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
3 Recommendations
Rec. 05. Object Orientation (OBJ)
Page Information
Title:
Rec. 05. Object Orientation (OBJ)
Author:
Sandy Shrum
Mar 05, 2015
Last Changed by:
David Svoboda
Aug 07, 2025
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/uTVGBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT Oracle Coding Standard for Java (1)
Page:
OBJ58-J. Limit the extensibility of classes and methods with invariants
Hierarchy
Parent Page
Page:
3 Recommendations
Children (9)
Page:
OBJ50-J. Never confuse the immutability of a reference with that of the referenced object
Page:
OBJ51-J. Minimize the accessibility of classes and their members
Page:
OBJ52-J. Write garbage-collection-friendly code
Page:
OBJ53-J. Do not use direct buffers for short-lived, infrequently used objects
Page:
OBJ54-J. Do not attempt to help the garbage collector by setting local reference variables to null
Page:
OBJ55-J. Remove short-lived objects from long-lived container objects
Page:
OBJ56-J. Provide sensitive mutable classes with unmodifiable wrappers
Page:
OBJ57-J. Do not rely on methods that can be overridden by untrusted code
Page:
OBJ58-J. Limit the extensibility of classes and methods with invariants
Labels
Global Labels (2)
recommendation-list
obj
Recent Changes
Time
Editor
Aug 07, 2025 15:43
David Svoboda
View Changes
Aug 07, 2025 08:17
David Svoboda
View Changes
Aug 07, 2025 08:15
David Svoboda
View Changes
Nov 16, 2017 14:43
Will Snavely
View Changes
Apr 29, 2015 11:15
Robert Seacord
View Page History
Outgoing Links
External Links (3)
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
SEI CERT Perl Coding Standard (1)
Home page:
SEI CERT Perl Coding Standard
Overview
Content Tools
{"serverDuration": 76, "requestCorrelationId": "209cd12138f2cbea"}