Bug in JavaBitSet fixed

Signed-off-by: Sergey Krivohatskiy <s.krivohatskiy@gmail.com>