On Sat, 25 Jun 2022 13:08:30 GMT, Ryan Ernst <d...@openjdk.org> wrote:
>> Applied required casts in jdk.hotspot.agent for the upcoming warning. >> Verified by cherry-picking @asotona's patch. > > Ryan Ernst has updated the pull request with a new target base due to a merge > or a rebase. The incremental webrev excludes the unrelated changes brought in > by the merge/rebase. The pull request contains four additional commits since > the last revision: > > - Merge branch 'master' into implicit_casts_jdk.hotspot.agent > - change long to int for primitive types in ObjectHeap > - Merge branch 'master' into implicit_casts_jdk.hotspot.agent > - 8286397: Address possibly lossy conversions in jdk.hotspot.agent > > Applied required casts in jdk.hotspot.agent for the upcoming warning. > Verified by cherry-picking @asotona's patch. I didn't realize changing the type to an `int` would allow for the removal of so many existing casts. Looks like a good cleanup to me. ------------- Marked as reviewed by cjplummer (Reviewer). PR: https://git.openjdk.org/jdk/pull/9280