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

Java 17 Masterplan, Part I #1982

Closed
25 tasks done
cdietrich opened this issue Jul 19, 2021 · 15 comments
Closed
25 tasks done

Java 17 Masterplan, Part I #1982

cdietrich opened this issue Jul 19, 2021 · 15 comments
Assignees
Milestone

Comments

@cdietrich
Copy link
Member

cdietrich commented Jul 19, 2021

This is a collection of issues and thing needed to get Java 17 support

see also #1974

Many more unknown tasks and issues.

Work in progress maven repos can be found at
https://ci.eclipse.org/xtext/job/xtext-lib/job/cd_platformUpdateExp/lastSuccessfulBuild/artifact/build/maven-repository/
https://ci.eclipse.org/xtext/job/xtext-core/job/cd_platformUpdateExp/lastSuccessfulBuild/artifact/build/maven-repository/
https://ci.eclipse.org/xtext/job/xtext-extras/job/cd_platformUpdateExp/lastSuccessfulBuild/artifact/build/maven-repository/
https://ci.eclipse.org/xtext/job/xtext-xtend/job/cd_platformUpdateExp/lastSuccessfulBuild/artifact/build/maven-repository/
https://ci.eclipse.org/xtext/job/xtext-maven/job/cd_platformUpdateExp/lastSuccessfulBuild/artifact/build/maven-repository/
https://ci.eclipse.org/xtext/job/xtext-web/job/cd_platformUpdateExp/lastSuccessfulBuild/artifact/build/maven-repository/

and a p2 repo at
https://ci.eclipse.org/xtext/job/xtext-umbrella/job/cd_platformUpdateExp/lastSuccessfulBuild/artifact/build/p2-repository

@cdietrich
Copy link
Member Author

cdietrich commented Oct 1, 2021

Hi all,

I am pleased to announce the availability of Xtext 2.26.0.M2.
This is the first version that won't explode with Java 17 thanks to an update to Google Guice 5.0
(run with Java 17 against 8/11 target, running against 17 will follow next year when platform/jdt and other upstream dependencies also support it)
We also did some changes to how recovery builds are scheduled eclipse/xtext-eclipse#1710

Release Notes (WIP) are at https://github.com/eclipse/xtext/blob/website-master/xtext-website/_posts/releasenotes/2022-01-31-version-2-26-0.md

For both we strongly encourage you to test and give feedback.

You can find the milestone at https://download.eclipse.org/modeling/tmf/xtext/updates/milestones/S202110010541/
and http://www.eclipse.org/modeling/download.php?file=/modeling/tmf/xtext/downloads/drops/2.26.0/S202110010541/tmf-xtext-Update-2.26.0.M2.zip
and soon on Maven Central

(suitable mwe verison is 2.12.2.M1 / https://download.eclipse.org/modeling/emft/mwe/updates/milestones/S202108160852/)

Happy Xtexting

Thanks and Regards
Christian

kris7t added a commit to graphs4value/refinery that referenced this issue Oct 2, 2021
Xtext 2.26.0.M2 might finally have Java 17 support:
eclipse/xtext#1982 (comment)
@wborn
Copy link
Contributor

wborn commented Oct 8, 2021

@cdietrich
Copy link
Member Author

thx i fixed the post.

@cdietrich
Copy link
Member Author

the current plan is to release this in two parts.

  • part 1 is: do not explode with Java 17 against 8 and 11 runtime with 2.26
  • part 2 is: support java 17 runtime, drop support for 8 runtime 2.27

@cdietrich
Copy link
Member Author

part 1 is done. will move part 2 to 2.27.0

@wborn
Copy link
Contributor

wborn commented Feb 19, 2022

For both we strongly encourage you to test and give feedback.

I did some testing with 2.26.0.M3 today with openHAB on Java 17 (openhab/openhab-core#2786) and I it all worked very well. 👍 Also nice to see LSP4J is upgraded so everything uses the same Guava dependency. 🙂

@wborn
Copy link
Contributor

wborn commented Feb 20, 2022

Upgrading to Gson 2.9.0 also seems to improve Java 17 support. I tried to build openHAB with Java 17 and some tests failed which seems to be fixed in Gson 2.9.0 as it has "Fix failing to serialize Collection or Map with inaccessible constructor" (see Gson 2.9.0 release notes).

@cdietrich cdietrich modified the milestones: Release_2.27, Release_2.28 Apr 27, 2022
@cdietrich
Copy link
Member Author

Java 17 Supported moved to 2.28

@cdietrich
Copy link
Member Author

due to lack of capacity we will move this to 2.29

@cdietrich cdietrich modified the milestones: Release_2.28, Release_2.29 Aug 4, 2022
cdietrich added a commit to eclipse/xtext-lib that referenced this issue Oct 10, 2022
cdietrich added a commit to eclipse/xtext-core that referenced this issue Oct 10, 2022
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
cdietrich added a commit to eclipse/xtext-core that referenced this issue Oct 10, 2022
cdietrich added a commit to eclipse/xtext-extras that referenced this issue Oct 10, 2022
cdietrich added a commit to eclipse/xtext-extras that referenced this issue Oct 10, 2022
cdietrich added a commit to eclipse/xtext-maven that referenced this issue Oct 10, 2022
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
cdietrich added a commit to eclipse/xtext-eclipse that referenced this issue Oct 10, 2022
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
cdietrich added a commit to eclipse/xtext-web that referenced this issue Oct 10, 2022
cdietrich added a commit to eclipse/xtext-maven that referenced this issue Oct 10, 2022
cdietrich added a commit to eclipse/xtext-eclipse that referenced this issue Oct 10, 2022
cdietrich added a commit to eclipse/xtext-xtend that referenced this issue Oct 10, 2022
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
cdietrich added a commit to eclipse/xtext-umbrella that referenced this issue Oct 10, 2022
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
cdietrich added a commit to eclipse/xtext-xtend that referenced this issue Oct 10, 2022
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
cdietrich added a commit to eclipse/xtext-xtend that referenced this issue Oct 10, 2022
cdietrich added a commit to eclipse/xtext-umbrella that referenced this issue Oct 10, 2022
cdietrich added a commit to eclipse/xtext-xtend that referenced this issue Oct 18, 2022
@cdietrich
Copy link
Member Author

looks like we are going to deliver this as is in 2.29 and will do further enhancements in 2.30

@cdietrich
Copy link
Member Author

created #2115 for leftovers

@cdietrich
Copy link
Member Author

part I, done

@cdietrich cdietrich changed the title Java 17 Masterplan Java 17 Masterplan, Part I Nov 17, 2022
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