Skip to content

GH-3664: Re-enable JavaScript support via GraalVM #3911

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

Merged
merged 2 commits into from
Oct 11, 2022

Conversation

artembilan
Copy link
Member

Fixes #3664

The JavaScript JSR223 engine has been removed from Java.

Migrate JavaScript support into GraalVM Polyglot API:

  • Implement PolyglotScriptExecutor which can also support other GraalVM languages
  • Change the ScriptExecutorFactory to use a PolyglotScriptExecutor when it encounters JavaScript
  • Re-enable tests for JavaScript
  • Add GraalVM Polyglot support into docs

@artembilan
Copy link
Member Author

I have decided to not touch Ruby and Python yet.
We may revise them in favor of GraalVM as well eventually.
Plus it will open doors for other languages, like R.

Fixes spring-projects#3664

The JavaScript JSR223 engine has been removed from Java.

Migrate JavaScript support into GraalVM Polyglot API:
* Implement `PolyglotScriptExecutor` which can also support other GraalVM languages
* Change the `ScriptExecutorFactory` to use a `PolyglotScriptExecutor` when it encounters JavaScript
* Re-enable tests for JavaScript
* Add GraalVM Polyglot support into docs
@garyrussell garyrussell merged commit 6641b1f into spring-projects:main Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rework JavaScript support to GraalVM
2 participants