Add @throws and @implNote clauses to BigInteger::isProblablePrime and BigInteger::nextProblablePrime

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 20
    • Affects Version/s: None
    • Component/s: core-libs
    • b20

      https://bugs.openjdk.org/browse/JDK-8294593 adds a check on the size of the target of `BigInteger::isProbablePrime`. The check throws an `ArithmeticException` on large targets. The spec needs to be updated.

            Assignee:
            Raffaello Giulietti
            Reporter:
            Raffaello Giulietti
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: