Integrated: 8273408: java.lang.AssertionError: typeSig ERROR on generated class property of record
gli at openjdk.java.net
Fri Sep 17 05:37:54 UTC 2021
On Tue, 14 Sep 2021 16:14:39 GMT, Guoxiong Li <gli at openjdk.org> wrote:
> Hi all,
> After processing annotation, if new source files are generated, the compiler should re-parse and re-enter the source files so that the type and symbol can keep right. The compiler always holds this convention in the past. But when the feature `record` is added, the convention is broken. In this bug, the compiler doesn't catch or enter the new/good type for record component after processing annotation. So some issues may occur at the later phases.
> This patch fixes the type of the record component so that the phases `Gen` and `ClassWriter` can get the right type. And a test case is added.
> Thanks for taking the time to review.
> Best Regards,
> -- Guoxiong
This pull request has now been integrated.
Author: Guoxiong Li <gli at openjdk.org>
Stats: 243 lines in 3 files changed: 241 ins; 0 del; 2 mod
8273408: java.lang.AssertionError: typeSig ERROR on generated class property of record
More information about the compiler-dev