RFR: 8279986: methods Math::asXExact for safely checked primitive casts

Raffaello Giulietti duke at openjdk.java.net
Thu May 5 10:18:45 UTC 2022


On Thu, 5 May 2022 10:11:05 GMT, Raffaello Giulietti <duke at openjdk.java.net> wrote:

> Add a family of "safe" cast methods.

For an in-depth rationale, please refer to the issue (Enhancement).
Note that the method names are, in fact, of the to*Exact rather than of the as*Exact form

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

PR: https://git.openjdk.java.net/jdk/pull/8548


More information about the core-libs-dev mailing list