Static code analysis complains there is the assignment in the conditional here:
bool CountedLoopReserveKit::create_reserve() {
...
return _has_reserved = true;
}
I believe the assignment should be explicit here. Code was introduced withJDK-8136725.
bool CountedLoopReserveKit::create_reserve() {
...
return _has_reserved = true;
}
I believe the assignment should be explicit here. Code was introduced with
- relates to
-
JDK-8136725 Provide utility for creation a counted loop reserve copy (clone).
- Resolved