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

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

Commit messages:
 - 8288594: Address possibly lossy conversions in java.base FloatToDecimal

Changes: https://git.openjdk.org/jdk/pull/9188/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9188&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8288594
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/9188.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9188/head:pull/9188

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

Reply via email to