линия 294 java .util.random Source говорит
if ((n & -n) == n) // i.e., n is a power of 2 // rest of the code
Почему это?