Integrated: 8273584: TypeElement.getSuperclass crashes for a record TypeElement when j.l.Record is not available
Jan Lahoda
jlahoda at openjdk.java.net
Mon Sep 13 09:27:10 UTC 2021
On Fri, 10 Sep 2021 15:00:35 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:
> After JDK-8273263, calling TypeElement.getSuperclass may fail on a record when j.l.Record is not available, because the method will try to synthesize the type based on treee, but the tree is not filled. The proposal is to fill in the tree.
This pull request has now been integrated.
Changeset: b0d04976
Author: Jan Lahoda <jlahoda at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/b0d04976bd334f840cb91e3f6dfa2ea680948a39
Stats: 122 lines in 2 files changed: 120 ins; 0 del; 2 mod
8273584: TypeElement.getSuperclass crashes for a record TypeElement when j.l.Record is not available
Reviewed-by: vromero
-------------
PR: https://git.openjdk.java.net/jdk/pull/5465
More information about the compiler-dev
mailing list