On Tue, 28 Sep 2021 08:02:12 GMT, Andrey Turbanov 
<[email protected]> 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 <[email protected]>
Committer: Sergey Bylokhov <[email protected]>
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

Reply via email to