2.13 nightly build on Oxygen 1a / Java 9 fails to Generate MWE2 [message #1774320] |
Thu, 12 October 2017 19:39 |
|
I can reproduce this on an updated Oxygen, a fresh Eclipse Oxigen 1a with DSL tools, and a 'Java-only' Eclipse Oxygen 1a, in which I install the xtext 2.13 nightly build.
I just create a 'New Xtext' project (with the sample hello-greeting project), then go to the .mwe2 file, and select that as a 'Run As' target. See the attached error that is thrown in the Console.
This also happens with with my older DSL project that compiled fine in Oxygen on Java 8 / XText 2.12.
This is on Windows 10 Pro - 64bit with no Java 8 installs remaining.
See the attached file for the stack-trace.
-
Attachment: dump.txt
(Size: 14.00KB, Downloaded 288 times)
|
|
|
|
Re: 2.13 nightly build on Oxygen 1a / Java 9 fails to Generate MWE2 [message #1774323 is a reply to message #1774321] |
Thu, 12 October 2017 20:29 |
|
likelycaused by old asm
java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.eclipse.xtext.common.types.access.binary.asm.JvmDeclaredTypeBuilder.buildType(JvmDeclaredTypeBuilder.java:69)
at org.eclipse.xtext.common.types.access.impl.DeclaredTypeFactory.doCreateType(DeclaredTypeFactory.java:115)
at org.eclipse.xtext.common.types.access.impl.DeclaredTypeFactory.createType(DeclaredTypeFactory.java:95)
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
|
|
|
|
|
Re: 2.13 nightly build on Oxygen 1a / Java 9 fails to Generate MWE2 [message #1774390 is a reply to message #1774330] |
Fri, 13 October 2017 15:19 |
|
Herzlichen dank Christian.
Removing the asm-entry from the build.properties file resulted in a successful compile.
I hope you put this workaround in the release-notes for 2.13, so that people migrating their existing projects to Java9 run into this.
However I got the following warning messages, which you are probably aware of:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.eclipse.xtext.util.MergeableManifest (file:/C:/Users/aart/eclipse/plugins/org.eclipse.xtext.util_2.13.0.v20171005-0628.jar) to field java.util.jar.Manifest.attr
WARNING: Please consider reporting this to the maintainers of org.eclipse.xtext.util.MergeableManifest
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Kind regards,
Aart de Vries
|
|
|
|
Powered by
FUDForum. Page generated in 0.05033 seconds