8219951: Build failure on Mac and Windows after JDK-8219922

Add missing parentheses.

Reviewed-by: dholmes
This commit is contained in:
Vladimir Kozlov 2019-02-28 17:16:40 -08:00
parent b5f55fadff
commit 211162fd5c

View File

@ -440,7 +440,7 @@ class IndexSetIterator {
uint current = _current;
if (current != 0) {
uint advance = count_trailing_zeros(current);
assert((current >> advance) & 0x1 == 1, "sanity");
assert(((current >> advance) & 0x1) == 1, "sanity");
_current = (current >> advance) - 1;
_value += advance;
return _value;