RFR: 8274505: Too weak variable type leads to unnecessary cast in java.desktop

Pankaj Bansal pbansal at openjdk.java.net
Thu Sep 30 06:16:38 UTC 2021


On Tue, 28 Sep 2021 08:02:12 GMT, Andrey Turbanov <github.com+741251+turbanoff at openjdk.org> wrote:

> Such casts are actually redundant, but they are inserted, because variable is declared with too weak type.

Marked as reviewed by pbansal (Reviewer).

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

PR: https://git.openjdk.java.net/jdk/pull/5731



More information about the client-libs-dev mailing list