Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[24] JEP draft: Implicitly Declared Classes and Instance Main Methods (Fourth Preview) #2902

Open
Tracked by #2899
mpalat opened this issue Sep 4, 2024 · 1 comment
Assignees
Milestone

Comments

@mpalat
Copy link
Contributor

mpalat commented Sep 4, 2024

ref: https://openjdk.org/jeps/8335984

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

@mpalat
Copy link
Contributor Author

mpalat commented Sep 4, 2024

@jarthana tentatively assigned to you - please feel free to reassign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants