-
Notifications
You must be signed in to change notification settings - Fork 321
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
[J11] Prepare Java 11 Support #1182
Comments
see #2578 |
wont ship this with 2.15 so moved to 2.16 |
An upgrade of guice will be required. As a quick test, I changed the guice release from 3.0 to 4.2.0. In xtext-core, then 12 tests fail (but that's less than 1% of all tests :-)). |
how did you deal with guice 4.x needing a newer guava? see eclipse/xtext-core#393 |
@szarnekow do you know of any ussages of the guice aop part? do you remember which version of guice we use? https://dev.eclipse.org/ipzilla/show_bug.cgi?id=6118 reads like we use the non aop variant at lease eclipse/manifest wise |
I did not get any exception of the type described in eclipse/xtext-core#393. |
Another thing I don’t know is that such a change would mean for (binary) compatibility and if it would require a Xtext 3.0 @svenefftinge can you share your knowledge with that |
@jpaw did you investigate if this can be done without a guice/guava bump? for java 9 and 10 it was possible. or did you do the bump to get rid of the reflection warnings? |
We should not bump the major version. Also see discussion here: https://dev.eclipse.org/mhonarc/lists/modeling-pmc/msg04475.html |
Related to the version bump of guava: Related to guice: xtext currently uses 3.0, which does not yet offer the no_aop version. guice 3.x is officially not even compatible with Java 8 (guice 4.0 ff are), so I doubt it will work with Java 11. With my test builds of the xtext / xtend plugins, I'm currently stuck with "ResourceNotLoaded" or |
the current guice (the one consumved via orbit has aop switched off) so you are taking about the maven/gradle dependency? |
I'm currently mainly interested in using xtext, that is, invoking xtext-maven-plugin and xtend-maven-plugin from a maven build job which is executed by JDK 11. |
I would have expected that would have worked by simply bumping the jdt version (not out yet) and introducing a new entry in the javaversion enum |
we require asm7 and the usage of OpCodes.ASM7 to get this running |
Address |
we should consider replacing the 3 single jdt plugins we consume from maven with the ecj jar (needs deeper investigation, e.g. how it relates to platform jars) |
So Java 11 support is planned for 2.16.0, correct? Do you have any idea about the schedule? |
2.16 is planned for 2018-12. We are still lining up for
|
Great, thanks for the information! 👍 |
Signed-off-by: Christian Dietrich <[email protected]>
Signed-off-by: Christian Dietrich <[email protected]>
Signed-off-by: Christian Dietrich <[email protected]>
Signed-off-by: Christian Dietrich <[email protected]>
Signed-off-by: Christian Dietrich <[email protected]>
emf.codegen.ecore needs https://repo.eclipse.org/content/repositories/eclipse-staging/org/eclipse/jdt/org.eclipse.jdt.core/ does not contains compiler tool created https://bugs.eclipse.org/bugs/show_bug.cgi?id=540530 |
Signed-off-by: Christian Dietrich <[email protected]>
Signed-off-by: Christian Dietrich <[email protected]>
Signed-off-by: Christian Dietrich <[email protected]>
Signed-off-by: Christian Dietrich <[email protected]>
Signed-off-by: Christian Dietrich <[email protected]>
Signed-off-by: Christian Dietrich <[email protected]>
Signed-off-by: Christian Dietrich <[email protected]>
Signed-off-by: Christian Dietrich <[email protected]>
Signed-off-by: Christian Dietrich <[email protected]>
Signed-off-by: Christian Dietrich <[email protected]>
Signed-off-by: Christian Dietrich <[email protected]>
Signed-off-by: Christian Dietrich <[email protected]>
Signed-off-by: Christian Dietrich <[email protected]>
Signed-off-by: Christian Dietrich <[email protected]>
Signed-off-by: Christian Dietrich <[email protected]>
Signed-off-by: Christian Dietrich <[email protected]>
Signed-off-by: Christian Dietrich <[email protected]>
[eclipse-xtext/xtext#1182] added support for java 11 as target
[eclipse-xtext/xtext#1182] added support for java 11 as target
[eclipse-xtext/xtext#1182] added support for java 11 as target
[eclipse-xtext/xtext#1182] added support for java 11 as target
Fixed in Xtext/Xtend 2.17 |
Xtext should not "explode" with Java 11
Wizard
The text was updated successfully, but these errors were encountered: