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

Srikanth Adayapalam sadayapalam at openjdk.org
Mon Oct 17 04:36:45 UTC 2022


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

Srikanth Adayapalam has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:

 - Merge branch 'master' into JDK-8295020
 - Merge branch 'master' into JDK-8295020
 - 8295020: javac emits incorrect code for for-each on an intersection type.

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

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

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

  Stats: 2382 lines in 57 files changed: 1226 ins; 785 del; 371 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