RFR: 8273584: TypeElement.getSuperclass crashes for a record TypeElement when j.l.Record is not available
Vicente Romero
vromero at openjdk.java.net
Fri Sep 10 18:48:47 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.
looks sensible
-------------
Marked as reviewed by vromero (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/5465
More information about the compiler-dev
mailing list