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

Srikanth Adayapalam sadayapalam at openjdk.org
Fri Oct 14 04:24:53 UTC 2022


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

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

Commit messages:
 - 8295020: javac emits incorrect code for for-each on an intersection type.

Changes: https://git.openjdk.org/jdk/pull/10710/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10710&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8295020
  Stats: 88 lines in 2 files changed: 83 ins; 1 del; 4 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