On Mon, 3 Oct 2022 17:02:44 GMT, Raffaello Giulietti <rgiulie...@openjdk.org> wrote:
> Throws an `ArithemticException` when the target is huge. This pull request has now been integrated. Changeset: 081691ad Author: Raffaello Giulietti <rgiulie...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/081691adf42919237b2a5b71a4b1064c7112a79c Stats: 24 lines in 2 files changed: 21 ins; 0 del; 3 mod 8294593: Check the size of the target on invocations of BigInteger::isProbablePrime Reviewed-by: darcy ------------- PR: https://git.openjdk.org/jdk/pull/10541