RFR: 8285935: Spurious lint warning for static method accessed through instance qualifier [v2]

Vicente Romero vromero at openjdk.org
Wed Aug 3 19:38:29 UTC 2022


> 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

Vicente Romero has updated the pull request incrementally with one additional commit since the last revision:

  updating the warning message text

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/9521/files
  - new: https://git.openjdk.org/jdk/pull/9521/files/1cff3326..265a478e

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=9521&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=9521&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/9521.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9521/head:pull/9521

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


More information about the compiler-dev mailing list