Draft Spect for Compact Source Files and Instance Main Methods (JEP 512)

Gavin Bierman gavin.bierman at oracle.com
Tue Apr 22 13:14:48 UTC 2025


Dear experts,

The first draft of a spec covering JEP 512 (Compact Source Files and Instance Main Methods) is available at:

https://cr.openjdk.org/~gbierman/jep512/latest/

Feel free to contact me directly or on this list with any comments/corrections.

Thanks,
Gavin

On 17 Apr 2025, at 13:07, Mark Reinhold <mark.reinhold at oracle.com> wrote:

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/amber-spec-observers/attachments/20250422/03854de7/attachment.htm>


More information about the amber-spec-observers mailing list