RFR: 8334488: Improve error for illegal early access from nested class

Archie Cobbs acobbs at openjdk.org
Wed Jun 19 01:45:11 UTC 2024


On Tue, 18 Jun 2024 23:14:51 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> I think that, as we're here, we should probably try to improve the situation a little, at least for the next release.

I agree the error messages are pretty ambiguous. At the time they were first added folks probably weren't imagining multiple levels nested of classes, etc.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/19773#issuecomment-2177362331


More information about the compiler-dev mailing list