RFR: 8305671: javac rejects semicolons in compilation units with no imports [v4]
Jonathan Gibbons
jjg at openjdk.org
Mon Jun 5 23:33:53 UTC 2023
On Tue, 18 Apr 2023 01:39:51 GMT, Archie Cobbs <acobbs at openjdk.org> wrote:
> I'll add more tests, but extra semicolons prior to import statements aren't allowed;
That would make it a negative test, and you would check that an appropriate error is generated.
That being said, the test case might be included in the tests for [JDK-8027682].
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13361#discussion_r1218704669
More information about the compiler-dev
mailing list