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


On Mon, 3 Oct 2022 17:02:44 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:

> Throws an `ArithemticException` when the target is huge.

This parallels the existing behavior in `BigInteger::nextProbablePrime`.

A separate CSR + PR will follow.

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

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


More information about the core-libs-dev mailing list