Integrated: 8288120: VerifyError with JEP 405 pattern match
Jan Lahoda
jlahoda at openjdk.org
Fri Jun 24 08:16:20 UTC 2022
On Fri, 17 Jun 2022 13:50:39 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:
> When pattern matching is looking up the accessor methods, it currently uses `Scope.findFirst`. This method may find a method with the same name from the record's supertype. The proposal is to use `Resolve.resolveInternalMethod` which should lookup the methods based on the ordinary rules, and should find the accessor from the record.
This pull request has now been integrated.
Changeset: bdf9902f
Author: Jan Lahoda <jlahoda at openjdk.org>
URL: https://git.openjdk.org/jdk19/commit/bdf9902f753b71f30be8e1634fc361a5c7d8d8ec
Stats: 55 lines in 2 files changed: 48 ins; 4 del; 3 mod
8288120: VerifyError with JEP 405 pattern match
Reviewed-by: vromero
-------------
PR: https://git.openjdk.org/jdk19/pull/34
More information about the compiler-dev
mailing list