Integrated: 8285935: Spurious lint warning for static method accessed through instance qualifier

Vicente Romero vromero at openjdk.org
Thu Aug 4 18:13:13 UTC 2022


On Fri, 15 Jul 2022 17:10:34 GMT, Vicente Romero <vromero at openjdk.org> wrote:

> Please review this simple fix which is adding a more precise, I hope, warning for the case when a static method or field is being accessed using an anonymous class instance.
> 
> TIA

This pull request has now been integrated.

Changeset: 3ba31716
Author:    Vicente Romero <vromero at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/3ba317167d24b6ed478418a2abae9042ab2764f1
Stats:     33 lines in 6 files changed: 29 ins; 0 del; 4 mod

8285935: Spurious lint warning for static method accessed through instance qualifier

Reviewed-by: jlahoda

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

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


More information about the compiler-dev mailing list