Open aivarannamaa opened 9 months ago
Googling suggests that the error is caused by stricter classloading checks introduced in Java 9. I'm assuming the error says that something loaded java.long.Comparable
with bootstrap classloader before Equinox loader got to it.
Tried adding Eclipse-BuddyPolicy: boot
and Eclipse-BuddyPolicy: global
to Yakindu's MANIFEST.MF files (as suggested by https://bugs.eclipse.org/bugs/show_bug.cgi?id=575868), but it did not help.
Got generation working by using Eclipse Platform (see the section "Platform Runtime Binary" at https://archive.eclipse.org/eclipse/downloads/drops4/R-4.23-202203080310/) instead of Eclipse Java IDE 2022-03. Eclipse SDK may work as well (don't remember for sure, which version of SDK did I test, but I remember having some kind of success with it).
Not closing the issue, because it's a work-around, not a real solution.
The models open fine, but Java code generation gives following error:
Tried Yakindu 3.5.5 and 3.5.13. Tried various versions of Eclipse Java IDE-s. -- 2023-09, 2022-03, 2020-12, 2020-06 and 2019-06. Generation succeeded only with 2019-06, but not with models saved in with later versions of Eclipse (with
xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.3/notation"
in the sct file, see #2).With other Eclipse versions requiring at least Java 8, the Yakindu plug-in didn't even install correctly with Java 8 (the settings page missed sub-pages and the sct and sgen files were note recognized). Running the same IDE with Java 11 fixed these problems but gave the error above.
The weirdest thing -- it used to work properly with 2022-03 on the same computer. It stopped working after I installed plugin development features to this Eclipse. Then removed Eclipse, together with
~/.p2
and~/.eclipse
folders, installed fresh Java IDE 2022-03 and Yakindu 3.5.5 (later tried also 3.5.13), but no luck anymore.