[jdk17u] Integrated: 8268885: duplicate checkcast when destination type is not first type of intersection type

Ekaterina Vergizova evergizova at openjdk.java.net
Thu Oct 7 12:52:16 UTC 2021


On Wed, 6 Oct 2021 15:24:32 GMT, Ekaterina Vergizova <evergizova at openjdk.org> wrote:

> I'd like to backport JDK-8268885 to 17u. It fixes duplicate checkcasts in javac.
> The patch applies cleanly.
> Tested with langtools tests, updated test fails without the fix, passes with it.

This pull request has now been integrated.

Changeset: d13334d5
Author:    Ekaterina Vergizova <evergizova at openjdk.org>
Committer: Yuri Nesterenko <yan at openjdk.org>
URL:       https://git.openjdk.java.net/jdk17u/commit/d13334d5ee24d3891233d5dc685b623618eaebb5
Stats:     37 lines in 2 files changed: 24 ins; 3 del; 10 mod

8268885: duplicate checkcast when destination type is not first type of intersection type

Backport-of: dd1209e4ae3c8e42d121329639ec4bd359d0a456

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

PR: https://git.openjdk.java.net/jdk17u/pull/158


More information about the jdk-updates-dev mailing list