RFR: 8295020: javac emits incorrect code for for-each on an intersection type. [v3]

Srikanth Adayapalam sadayapalam at openjdk.org
Mon Oct 17 05:50:05 UTC 2022


> Eliminate needless casts and ensure invoked method is looked up against the appropriate receiver type

Srikanth Adayapalam has updated the pull request incrementally with one additional commit since the last revision:

  Incorporate review comments from Maurizio (Thanks!)

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/10710/files
  - new: https://git.openjdk.org/jdk/pull/10710/files/2ee16e16..f3319aa8

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

  Stats: 4 lines in 1 file changed: 2 ins; 1 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/10710.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10710/head:pull/10710

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


More information about the compiler-dev mailing list