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

Move from Java 11 to Java 17 #839

Closed
lhstrh opened this issue Jan 11, 2022 · 3 comments
Closed

Move from Java 11 to Java 17 #839

lhstrh opened this issue Jan 11, 2022 · 3 comments

Comments

@lhstrh
Copy link
Member

lhstrh commented Jan 11, 2022

The latest LTS version of Java is version 17, and it comes with a number features (e.g., text blocks) that are of help for some of our code generators that are currently still written in Xtend. For that reason alone, it would be great if we could move to Java 17.

It looks like Java 17 support is being worked on in eclipse-xtext/xtext#1982. With the release of v2.6.0 (apparently due on Jan 31), we should attempt to bump our Java dependency as well.

@lhstrh
Copy link
Member Author

lhstrh commented Jan 24, 2022

Note this:

Xtext now supports running on Java 17 with Java 8 and 11 targets. Source and Target 17 are not supported yet and are planned for Xtext 2.27.0. This will also require dropping Java 8 in the next release.

This means that until 2.27.0 we apparently won't be able to use Java 17 syntax...

@oowekyala
Copy link
Collaborator

Note that this also requires bumping gradle, our current gradle version (6.5) only supports up to Java 14

@lhstrh
Copy link
Member Author

lhstrh commented Jan 29, 2022 via email

@cmnrd cmnrd closed this as completed May 31, 2023
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

3 participants