Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8294730

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: