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 09. Locking (LCK)
LCK01-J. Do not synchronize on objects that may be reused
Page Information
Title:
LCK01-J. Do not synchronize on objects that may be reused
Author:
Dhruv Mohindra
Feb 17, 2009
Last Changed by:
Svyatoslav Razmyslov
Jun 25, 2021
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/1zdGBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT Oracle Coding Standard for Java (2)
Page:
LCK02-J. Do not synchronize on the class object returned by getClass()
Page:
LCK00-J. Use private final lock objects to synchronize classes that may interact with untrusted code
Hierarchy
Parent Page
Page:
Rule 09. Locking (LCK)
Labels
Global Labels (9)
lck
android-applicable
android
dos-cc
review2
normative
rule
analyzable
tech-edit-done
Recent Changes
Time
Editor
Jun 25, 2021 08:37
Svyatoslav Razmyslov
View Changes
May 18, 2021 08:03
Michal Rozenau
View Changes
Parasoft Jtest 2021.1
Mar 31, 2021 13:34
Jon O'Donnell
View Changes
Feb 26, 2021 09:23
Michal Rozenau
View Changes
Parasoft Jtest 2020.2
Feb 12, 2018 22:02
Will Snavely
View Page History
Outgoing Links
External Links (7)
https://wiki.sei.cmu.edu/confluence/display/java/PVS-Studio
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
java.sun.com/docs/books/tutorial/collections/implementation…
https://pvs-studio.com/en/docs/warnings/v6070/
https://www.sonarsource.com/products/codeanalyzers/sonarjav…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
SEI CERT Oracle Coding Standard for Java (12)
Page:
LCK00-J. Use private final lock objects to synchronize classes that may interact with untrusted code
Home page:
SEI CERT Oracle Coding Standard for Java
Page:
PVS-Studio_V
Page:
ThreadSafe
Page:
SonarQube
Page:
Parasoft
Page:
Parasoft_V
Page:
ThreadSafe_V
Page:
The Checker Framework
Page:
The Checker Framework_V
Page:
Rule AA. References
Page:
SonarQube_V
Overview
Content Tools
{"serverDuration": 94, "requestCorrelationId": "4f50dd8f5e2e91a9"}