graalvm / simplelanguage

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

not work with GraalVM22 #115

Open Terrency opened 7 months ago

Terrency commented 7 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 7 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>