RFR: 8294593: Check the size of the target on invocations of BigInteger::isProbablePrime

Raffaello Giulietti rgiulietti at openjdk.org
Mon Oct 3 17:14:17 UTC 2022


Throws an `ArithemticException` when the target is huge.

-------------

Commit messages:
 - 8294593: Check the size of the target on invocations of BigInteger::isProbablePrime

Changes: https://git.openjdk.org/jdk/pull/10541/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10541&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8294593
  Stats: 24 lines in 2 files changed: 21 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/10541.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10541/head:pull/10541

PR: https://git.openjdk.org/jdk/pull/10541


More information about the core-libs-dev mailing list