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

Andrey Turbanov github.com+741251+turbanoff at openjdk.java.net
Sat Oct 2 03:10:33 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.

This pull request has now been integrated.

Changeset: 9ca6bf0d
Author:    Andrey Turbanov <turbanoff at gmail.com>
Committer: Sergey Bylokhov <serb at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/9ca6bf0d22ac39d4ee29c756903038f09087ca12
Stats:     78 lines in 11 files changed: 0 ins; 22 del; 56 mod

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

Reviewed-by: serb, kizune, pbansal

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

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



More information about the client-libs-dev mailing list