RFR: 8027682: javac wrongly accepts semicolons in package and import decls

Archie L. Cobbs duke at openjdk.org
Mon Feb 6 21:32:49 UTC 2023


On Mon, 6 Feb 2023 21:20:20 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

> I would suggest to go ahead with a solution to report and ignore excess semicolons, since changing JLS is a bigger deal that cannot be done here. And even if we change JLS going forward, a solution to "report and ignore" excess semicolons might be worth back-porting.

Sounds like a good plan - thanks!

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

PR: https://git.openjdk.org/jdk/pull/12448


More information about the compiler-dev mailing list