Integrated: 8312163: Crash in dominance check when compiling unnamed patterns

Aggelos Biboudis abimpoudis at openjdk.org
Tue Jul 18 11:45:34 UTC 2023


On Mon, 17 Jul 2023 21:57:07 GMT, Aggelos Biboudis <abimpoudis at openjdk.org> wrote:

> The following fixes a crash in dominance checking involving unnamed patterns by teaching the method `patternDominated` how to handle `AnyPattern` nodes. The test file includes snippets with `_` that need to expose the same behavior as if `var _` was used in all nested positions in place of just `_`.

This pull request has now been integrated.

Changeset: 1fc726a8
Author:    Aggelos Biboudis <abimpoudis at openjdk.org>
Committer: Jan Lahoda <jlahoda at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/1fc726a8b34fcd41dae12a6d7c63232f9ccef3f4
Stats:     73 lines in 4 files changed: 70 ins; 0 del; 3 mod

8312163: Crash in dominance check when compiling unnamed patterns

Reviewed-by: jlahoda

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

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


More information about the compiler-dev mailing list