RFR: 8211004: javac is complaining about non-denotable types and refusing to generate the class file
Jan Lahoda
jlahoda at openjdk.java.net
Wed Jan 5 20:29:10 UTC 2022
On Fri, 17 Dec 2021 21:35:24 GMT, Vicente Romero <vromero at openjdk.org> wrote:
> Please review this fix which is checking if the enclosing class of an anonymous class is denotable or not. Currently javac is failing with an error at class writing time. All this fix is doing is failing during attribution and trying to issue a better error message so that the user knows better how to fix the issue and the position of the offending code,
>
> TIA
Looks reasonable.
-------------
Marked as reviewed by jlahoda (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/6886
More information about the compiler-dev
mailing list