RFR: 8288594: Address possibly lossy conversions in java.base FloatToDecimal
Roger Riggs
rriggs at openjdk.org
Thu Jun 16 16:12:46 UTC 2022
On Thu, 16 Jun 2022 15:26:37 GMT, Adam Sotona <asotona at openjdk.org> wrote:
> One new case of possibly lossy conversions recently appeared in jdk.internal.math.FloatToDecimal.
> This patch avoids the warning by explicit cast from long to int.
>
> Please review.
>
> Thanks,
> Adam
Marked as reviewed by rriggs (Reviewer).
-------------
PR: https://git.openjdk.org/jdk/pull/9188
More information about the core-libs-dev
mailing list