mbien commented on PR #8793:
URL: https://github.com/apache/netbeans/pull/8793#issuecomment-3260136775
on second thought: the non-static void main leads to a fairly confusing
initialization order which is probably counter productive from onboarding
perspective.
```java
public class Mavenproject1 {
static {
System.out.println("2");
}
public Mavenproject1() {
System.out.println("3");
}
void main() {
System.out.println("1");
}
}
```
out
```
2
3
1
```
should we let it generate `static void main() {}` which would cause less
magic?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists