Hacker News new | ask | show | jobs
by uvdiv 4836 days ago
Force a race condition on the variable `root'.

    if (n.divide(root).equals(root)) {
Try to set it to 2^20001 on the first funcall and 0 on the second.
1 comments

BigInteger is immutable so this won't work
You're right! Good catch.