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)
OBJ07-J. Sensitive classes must not let themselves be copied
Page Information
Title:
OBJ07-J. Sensitive classes must not let themselves be copied
Author:
Lokesh Agarwal
Nov 05, 2008
Last Changed by:
Jon O'Donnell
Aug 06, 2021
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/PjdGBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT Oracle Coding Standard for Java (4)
Page:
OBJ05-J. Do not return references to private mutable class members
Page:
MSC07-J. Prevent multiple instantiations of singleton objects
Page:
OBJ08-J. Do not expose private members of an outer class from within a nested class
Page:
OBJ04-J. Provide mutable classes with copy functionality to safely allow passing instances to untrusted code
Hierarchy
Parent Page
Page:
Rule 05. Object Orientation (OBJ)
Labels
Global Labels (5)
draft
android-applicable
rule
analyzable
obj
Recent Changes
Time
Editor
Aug 06, 2021 09:21
Jon O'Donnell
View Changes
May 18, 2021 08:43
Michal Rozenau
View Changes
Parasoft Jtest 2021.1
Feb 26, 2021 17:06
Michal Rozenau
View Changes
Parasoft Jtest 2020.2
Feb 12, 2018 22:02
Will Snavely
View Changes
Jan 05, 2017 14:53
Will Snavely
View Page History
Outgoing Links
External Links (2)
cwe.mitre.org/data/definitions/491.html
cwe.mitre.org/data/definitions/498.html
SEI CERT Oracle Coding Standard for Java (11)
Page:
Rule 05. Object Orientation (OBJ)
Page:
Parasoft
Page:
OBJ08-J. Do not expose private members of an outer class from within a nested class
Page:
Parasoft_V
Page:
CodeSonar_V
Page:
OBJ11-J. Be wary of letting constructors throw exceptions
Page:
Rule BB. Glossary
Page:
OBJ04-J. Provide mutable classes with copy functionality to safely allow passing instances to untrusted code
Page:
Rule AA. References
Home page:
SEI CERT Oracle Coding Standard for Java
Page:
OBJ06-J. Defensively copy mutable inputs and mutable internal components
SEI CERT C Coding Standard (1)
Page:
CodeSonar
Overview
Content Tools
{"serverDuration": 86, "requestCorrelationId": "1ce27e4f9e812503"}