You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 21, 2023. It is now read-only.
ReflectExtensions.invoke does not work for static methods in newer java versions
java.lang.IllegalArgumentException: non-null object for public static void MyFile.main(java.lang.String[])
at java.base/java.lang.reflect.AccessibleObject.canAccess(AccessibleObject.java:466)
at org.eclipse.xtext.xbase.lib.util.ReflectExtensions.invoke(ReflectExtensions.java:122)
at org.xtext.scripting.tests.ExecutionTest.lambda$0(ExecutionTest.java:62)
at org.eclipse.xtext.xbase.testing.CompilationTestHelper.compile(CompilationTestHelper.java:248)
at org.eclipse.xtext.xbase.testing.CompilationTestHelper.compile(CompilationTestHelper.java:197)
at org.xtext.scripting.tests.ExecutionTest.compileAndExecuteMainAndExpect(ExecutionTest.java:76)
at org.xtext.scripting.tests.ExecutionTest.testHelloWorld(ExecutionTest.java:42)