RFR: 8293879: Remove unnecessary castings in jdk.hotspot.agent

Leonid Mesnik lmesnik at openjdk.org
Thu Sep 15 21:31:48 UTC 2022


On Thu, 15 Sep 2022 20:49:14 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

> Redundant castings make code harder to read.
> Found them by IntelliJ IDEA.
> I tried to choose only casts which are definitely safe to remove.
> Most generification was done in [JDK-8241618](https://bugs.openjdk.org/browse/JDK-8241618), but casts weren't removed.

Marked as reviewed by lmesnik (Reviewer).

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

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


More information about the serviceability-dev mailing list