graalvm / simplelanguage

A simple example language built using the Truffle API.
http://openjdk.java.net/projects/graal/
Universal Permissive License v1.0
606 stars 197 forks source link

not work with GraalVM22 #115

Open Terrency opened 4 months ago

Terrency commented 4 months ago

4 user-specific feature(s):

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

Terrency commented 4 months ago

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>