You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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. This is a preview language feature.
History
Implicitly declared classes and instance main methods were first proposed as a preview feature by JEP 445, delivered in JDK 21. The feature was previewed again by JEP 463, with significant changes based on feedback, and delivered in JDK 22. A third preview proposed by JEP 477,..in Java 23
JEP 477 support in JDT Core is captured in issue #2474
The text was updated successfully, but these errors were encountered:
mpalat
changed the title
[24] JEP draft: Implicitly Declared Classes and Instance Main Methods (Fourth Preview)
[24] JEP 495: Implicitly Declared Classes and Instance Main Methods (Fourth Preview)
Nov 4, 2024
@jarthana have you checked for spec changes yet? Let me know in particular if anything in the spec needs clarification.
Except the name change (of the feature), I don't see any change to the spec. So, I think we are good here.
Great. Since specifications have reached state Public Review Specification — DRAFT 2 and not much happening on mailing lists, I think you can actually close this issue :)
ref: https://openjdk.org/jeps/495
JLS Changes tracked at: https://cr.openjdk.org/~gbierman/jep495/latest/
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. This is a preview language feature.
History
Implicitly declared classes and instance main methods were first proposed as a preview feature by JEP 445, delivered in JDK 21. The feature was previewed again by JEP 463, with significant changes based on feedback, and delivered in JDK 22. A third preview proposed by JEP 477,..in Java 23
JEP 477 support in JDT Core is captured in issue #2474
The text was updated successfully, but these errors were encountered: