mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java] cleanup of inspection description updates FieldAccessNotGuarded
GitOrigin-RevId: 6cc0871e73126bb75580167e7b5e6e3f282283e0
This commit is contained in:
committed by
intellij-monorepo-bot
parent
fb5c1bc834
commit
598e1f467b
@@ -1,7 +1,8 @@
|
||||
<html>
|
||||
<body>
|
||||
Reports accesses of fields declared as <b>@GuardedBy</b> which are are not guarded by an appropriate synchronization structure.
|
||||
Supported <b>@GuardedBy</b> annotations are:
|
||||
Reports accesses of fields declared as <code>@GuardedBy</code> which are are not guarded by an appropriate synchronization structure.
|
||||
<!-- tooltip end -->
|
||||
Supported <code>@GuardedBy</code> annotations are:
|
||||
<ul>
|
||||
<li>net.jcip.annotations.GuardedBy</li>
|
||||
<li>javax.annotation.concurrent.GuardedBy</li>
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
Reports <code>@GuardedBy</code> annotations on <code>static</code> fields or methods,
|
||||
where the guard is either a non-static field or <code>this</code>. Guarding a <code>static</code> by a non-static may result in
|
||||
excessive concurrency, multiple threads may be able to access the guarded field simultaneously, by locking in different object contexts.
|
||||
<!-- tooltip end -->
|
||||
Supported <code>@GuardedBy</code> annotations are:
|
||||
<ul>
|
||||
<li>net.jcip.annotations.GuardedBy</li>
|
||||
|
||||
Reference in New Issue
Block a user