<div dir="ltr"><div class="gmail_default" style="font-size:small"><div class="gmail_default">Hi All,</div><div class="gmail_default"><br></div><div class="gmail_default">Thank you for this new proposal, I like the idea of JEP 445 with the flexible main methods. My only concern is the implicit "static" keyword. Which means the initially learned main method format should be modified later, so this doesn't really support the gradual learning curve. It is even a little bit against the goal "Do not introduce a separate beginner's dialect of Java."</div><div class="gmail_default"><br></div><div class="gmail_default">I would consider a bigger step, supporting a main() method without the void return type and modifiers (Similarly to the constructor declaration, where the missing return type makes it a different kind of thing. And the name is also fixed there. But in this case we don't need the public and static modifier.) It would not be specific for the anonymous classes. (So it isn't a separate beginner's dialect.)</div><div class="gmail_default"><br></div><div class="gmail_default">I know it would create a new language element. But all the problems with another method named "main" will be gone. (No need for the "selecting the main method" logic.)</div><div class="gmail_default"><br></div><div class="gmail_default">Thanks,</div><div class="gmail_default">Hunor</div><div class="gmail_default"><br></div></div></div>