You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
361 B

A field annotated with `@GuardedBy` is being accessed by a call-chain that starts at a non-private method without synchronization.
Example:
```java
class C {
@GuardedBy("this")
String f;
void foo(String s) {
f = s; // unprotected access here
}
}
```
Action: Protect the offending access by acquiring the lock indicated by the `@GuardedBy(...)`.