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 05. Object Orientation (OBJ)
OBJ13-J. Ensure that references to mutable objects are not exposed
Page Information
Title:
OBJ13-J. Ensure that references to mutable objects are not exposed
Author:
Fred Long
Sep 11, 2008
Last Changed by:
Michal Rozenau
Jan 10, 2023
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/VzZGBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT Oracle Coding Standard for Java (1)
Page:
OBJ05-J. Do not return references to private mutable class members
Hierarchy
Parent Page
Page:
Rule 05. Object Orientation (OBJ)
Labels
Global Labels (2)
rule
obj
Recent Changes
Time
Editor
Jan 10, 2023 06:40
Michal Rozenau
View Changes
Parasoft Jtest 2022.2
Jan 25, 2022 03:11
Winfried Gerlach
View Changes
Jan 24, 2022 11:27
Winfried Gerlach
View Changes
Mar 24, 2020 10:38
David Svoboda
View Changes
Dec 12, 2019 10:39
Robert Schiela
Slight clarifications.
View Page History
Outgoing Links
External Links (5)
https://rules.sonarsource.com/java/RSPEC-2386
https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
https://rules.sonarsource.com/java/RSPEC-2384
docs.oracle.com/javase/specs/jls/se8/html/jls-6.html#jls-6.…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
SEI CERT Oracle Coding Standard for Java (13)
Page:
Rec. AA. References
Page:
Parasoft_V
Page:
Parasoft
Page:
SonarQube_V
Home page:
SEI CERT Oracle Coding Standard for Java
Page:
OBJ01-J. Limit accessibility of fields
Page:
SonarQube
Page:
SpotBugs_V
Page:
Rule BB. Glossary
Page:
SpotBugs
Page:
OBJ14-J. Do not use an object that has been freed.
Page:
OBJ05-J. Do not return references to private mutable class members
Page:
OBJ11-J. Be wary of letting constructors throw exceptions
Overview
Content Tools
{"serverDuration": 75, "requestCorrelationId": "b94ef5d23ee56317"}