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

Set the Java Release Version to 21 #3522

Merged
merged 1 commit into from
Oct 25, 2024
Merged

Set the Java Release Version to 21 #3522

merged 1 commit into from
Oct 25, 2024

Conversation

wadoon
Copy link
Member

@wadoon wadoon commented Oct 24, 2024

I talked with @WolframPfeifer. For eons, we agreed to go with Java 21 after the next release. The release happened, so it is time for the new Java version.

As a reminder: Java 21 was released in Sept 2023. It is the latest LTS release. The feature differences are or see here:

  • JEP444: Virtual Threads: Threads are getting very cheap, also called greenlets, lightweight or heap-based threads.
  • JEP431: Sequenced Collections: Refinement of the inheritance of Java collection API
  • JEP440: Record Patterns
  • JEP441: Pattern Matching for Switch

Upcoming relevant Java features are Primitive Types in Patterns, instanceof, and switch (Preview), Statements before super(...) (Preview), Markdown Documentation Comments, Stream Gatherers (Second Preview), Structured Concurrency (Third Preview)

@wadoon wadoon added the 🛠 Maintenance Code quality and related things w/o functional changes label Oct 24, 2024
@wadoon wadoon added this to the v2.14.0 milestone Oct 24, 2024
@wadoon wadoon self-assigned this Oct 24, 2024
@wadoon
Copy link
Member Author

wadoon commented Oct 24, 2024

PR #3399 is now more relevant, as it allows nice things with pattern matching.

@wadoon wadoon enabled auto-merge October 24, 2024 01:24
@WolframPfeifer
Copy link
Member

We agreed in our recent KaKeY meeting that we want to increase the Java version.

@wadoon wadoon added this pull request to the merge queue Oct 25, 2024
Merged via the queue into main with commit 2a811b6 Oct 25, 2024
12 of 13 checks passed
@wadoon wadoon deleted the weigl/set-java21 branch October 25, 2024 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🛠 Maintenance Code quality and related things w/o functional changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants