-
Notifications
You must be signed in to change notification settings - Fork 18
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
Xtend compiler plugin 2.0.8 fails under JDK14 #170
Comments
Do You build with or against java 14 In my Tests I had no problems though So can you provide a minimal example |
See also eclipse-xtext/xtext#1721 |
Running gradle using JDK 14, targeting Java 8.
|
I tested with Xtext 2.21 only |
We are also waiting for new asm eclipse-xtext/xtext#1649 |
Can also provide complete stacktrce |
@cdietrich is there any way to force the plugin to use Xtext 2.21? The project being compiled is pure Xtend code, no grammar, no full Xtext. |
afaik this one is used to determine version {code} |
Sure, stacktrace:
|
hmm unfortunately this one does not print where the class version error is thrown |
I believe the error might be ASM. Anyway, my
|
yes but i wonder why i did not see this in my tests |
My build env classpath seems instead to be including old Xtext libraries.
|
using explicit xbase.lib version gives different error |
Update: forcing a newer Xtext version in the buildscript seems to have some effect: buildscript {
dependencies {
classpath("org.eclipse.xtend:org.eclipse.xtend.lib:2.21.0")
}
}
Now I believe it's just my code being problematic, but the plugin is running. |
not to the buildscript.
|
The type ListSet inherits multiple implementations of the method copyOf(Collection<? extends E>) from Set and List.` seems to be a xtend bug with static IF methods |
yes
gives
can you please create an xtend bug for that |
@cdietrich I can open a report, but why is it a bug? Doesn't Xtend search static methods into superinterfaces? I believe in this very case it is my code that is broken with newer JDKs, as the compiler can't figure out what to call, and I can't either :) In your case as well, you should disambiguate. Make IY Am I wrong? |
the problem is on override check. |
Yeah, but in pure Java AFAIK you cannot call |
hmmmm i would consider this a second bug. |
if you open an issue we can discuss with @szarnekow |
opened |
I set up the build on CI: https://travis-ci.org/github/DanySK/listset/builds/673056427 I wonder why my local machine still has issues, but at this point must be some cache corruption, as it works as expected on all environments on CI. Closing. |
Plugin at version 2.0.8 does not work with JDK 14. Tested under Windows, Mac, and Linux, using both HotSpot and OpenJ9.
Build example: https://travis-ci.org/github/DanySK/listset/builds/672952779
Failure:
The text was updated successfully, but these errors were encountered: