-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch from Nashorn to GraalVM for javascript execution #302
Comments
Java 21+ has new experimental alternative to this. This is out of scope but would be worth noting when setting the version of GraalVM. The implementation is intended to be run on numerous languages, however, our priority is Javascript. Test using Ruby and other languages if possible. If it fails in languages other than Javascript, then report this as a regression. This is the Foreign Function & Memory API. By Java 21+ this is third preview and is probably close to being stable but is also not yet stable.
|
The minimum required Java version is Java 17. |
This issue should be in mod-camunda and not fw-registry. |
pom.xml
:javascriptScriptEngine
property in yourbpm-platform.xml
,processes.xml
orcamunda.cfg.xml
:Remember to replace the version number with the version of GraalVM JavaScript that you're using.
Please note that while GraalVM JavaScript is largely compatible with Nashorn, there might be some differences in behavior. You should thoroughly test your scripts after switching to GraalVM JavaScript to make sure they still work as expected.
The text was updated successfully, but these errors were encountered: