mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-18 14:25:33 +00:00
8023104: ConcurrentHashMap typo
Reviewed-by: chegar, mduigou
This commit is contained in:
parent
ad2505a669
commit
fc8b2309b8
@ -2785,7 +2785,7 @@ public class ConcurrentHashMap<K,V> extends AbstractMap<K,V>
|
||||
return;
|
||||
}
|
||||
}
|
||||
else if ((s | WAITER) == 0) {
|
||||
else if ((s & WAITER) == 0) {
|
||||
if (U.compareAndSwapInt(this, LOCKSTATE, s, s | WAITER)) {
|
||||
waiting = true;
|
||||
waiter = Thread.currentThread();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user