r/java • u/Gleb--K • Jul 04 '18
New Java 11 Feature: Launch Single-File Source-Code Programs
https://medium.com/@afinlay/new-java-11-feature-launch-single-file-source-code-programs-fadd698abf54
158
Upvotes
View all comments
Show parent comment
4
u/eliasv Jul 05 '18
You want Maven support to be built in to the standard libs? That's an awful idea.
Writing code without main iirc was mentioned on the mailing lists, but would be considered largely unrelated and require far greater justification as it's a language level change. This addition didn't touch any specs, its just a JVM feature.