RFR: JDK-8306112 Implementation of JEP 445: Unnamed Classes and Instance Main Methods (Preview) [v8]
Jaikiran Pai
jpai at openjdk.org
Fri May 5 10:25:21 UTC 2023
On Mon, 1 May 2023 13:06:24 GMT, Jim Laskey <jlaskey at openjdk.org> wrote:
>> Add flexible main methods and anonymous main classes to the Java language.
>
> Jim Laskey has updated the pull request incrementally with two additional commits since the last revision:
>
> - Anonymous main classes renamed to unnamed classes
> - Add test
test/jdk/tools/launcher/InstanceMainTest.java line 33:
> 31: public class InstanceMainTest extends TestHelper {
> 32:
> 33: @Test
Does this compile? I don't see imports for this annotation and this is launched as a `@run main ....`
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13689#discussion_r1185930904
More information about the core-libs-dev
mailing list