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

Srikanth Adayapalam sadayapalam at openjdk.org
Mon Oct 17 07:45:02 UTC 2022


On Fri, 14 Oct 2022 04:16:33 GMT, Srikanth Adayapalam <sadayapalam at openjdk.org> wrote:

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

This pull request has now been integrated.

Changeset: cf07eaeb
Author:    Srikanth Adayapalam <sadayapalam at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/cf07eaeb9291da725181832b8bb1dc54957ba886
Stats:     91 lines in 2 files changed: 85 ins; 2 del; 4 mod

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

Reviewed-by: mcimadamore

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

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


More information about the compiler-dev mailing list