New candidate JEP: 512: Compact Source Files and Instance Main Methods

Mark Reinhold mark.reinhold at oracle.com
Thu Apr 17 12:07:22 UTC 2025


https://openjdk.org/jeps/512

  Summary: Evolve the Java programming language so that beginners can
  write their first programs without needing to understand language
  features designed for large programs.  Far from using a separate
  dialect of the language, beginners can write streamlined declarations
  for single-class programs and then seamlessly expand their programs
  to use more advanced features as their skills grow.  Experienced
  developers can likewise enjoy writing small programs succinctly,
  without the need for constructs intended for programming in the large.

- Mark


More information about the jdk-dev mailing list