8288594: Address possibly lossy conversions in java.base FloatToDecimal#9188
8288594: Address possibly lossy conversions in java.base FloatToDecimal#9188asotona wants to merge 1 commit intoopenjdk:masterfrom
Conversation
|
👋 Welcome back asotona! A progress list of the required criteria for merging this PR into |
|
@asotona This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 2 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
|
/integrate |
|
Going to push as commit e7d52e2.
Your commit was automatically rebased without conflicts. |
|
Mailing list message from Raffaello Giulietti on core-libs-dev: Although the conversion is mathematically sound and never lossy, this Greetings On 2022-06-16 19:01, Adam Sotona wrote: |
|
Mailing list message from Raffaello Giulietti on core-libs-dev: Ah, no, it's a P4 bug. On 2022-06-16 23:57, Raffaello Giulietti 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
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/9188/head:pull/9188$ git checkout pull/9188Update a local copy of the PR:
$ git checkout pull/9188$ git pull https://git.openjdk.org/jdk pull/9188/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 9188View PR using the GUI difftool:
$ git pr show -t 9188Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/9188.diff