RFR: 8312163: Crash in dominance check when compiling unnamed patterns [v2]

Aggelos Biboudis abimpoudis at openjdk.org
Tue Jul 18 07:49:30 UTC 2023


> 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 `_`.

Aggelos Biboudis has updated the pull request incrementally with one additional commit since the last revision:

  Address review

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/14912/files
  - new: https://git.openjdk.org/jdk/pull/14912/files/c8b6c196..a250ead5

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

  Stats: 17 lines in 1 file changed: 3 ins; 9 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/14912.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14912/head:pull/14912

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


More information about the compiler-dev mailing list