Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For those interested in the rationale for the simplified main methods (and the rationale for not simplifying further), the relevant JEP is a good read.

JEP 495: Simple Source Files and Instance Main Methods (Fourth Preview) https://openjdk.org/jeps/495

The parent article mentions and links JEP 477 -- the 3rd preview of the same feature-set. JEP 495 is the 4th preview and is included in JDK 24 which is in "stabilization" mode for release in March 2025.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: