simplelanguage icon indicating copy to clipboard operation
simplelanguage copied to clipboard

not work with GraalVM22

Open Terrency opened this issue 1 year ago • 1 comments

4 user-specific feature(s):

  • com.oracle.svm.thirdparty.gson.GsonFeature
  • com.oracle.svm.truffle.TruffleBaseFeature: Provides support for Truffle languages
  • com.oracle.svm.truffle.TruffleFeature: Provides support for Truffle runtime compilation
  • org.graalvm.home.HomeFinderFeature: Finds GraalVM paths and its version number

com.oracle.svm.core.util.VMError$HostedError: InternalFeature defined by com.oracle.svm.truffle.TruffleFeature unexpectedly failed with a(n) java.lang.NoSuchMethodError

Terrency avatar Mar 31 '24 16:03 Terrency

it works with GraalVM21, I have tried.

btw, need few changes with exec-maven-plugin @standalone module

<configuration>
    <executable>
        ${env.JAVA_HOME}/bin/native-image.cmd</executable>
    <commandlineArgs>
        -p %classpath
        -H:+ReportExceptionStackTraces
        -m ${launcherClass}
        -o ${project.build.directory}/slnative
        -Dpolyglotimpl.DisableVersionChecks=true
    </commandlineArgs>
</configuration>

Terrency avatar Apr 01 '24 00:04 Terrency