You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-integration-scripting/src/main/java/org/springframework/integration/scripting/jsr223/ScriptExecutorFactory.java
Copy file name to clipboardExpand all lines: src/reference/antora/modules/ROOT/pages/scripting.adoc
+3
Original file line number
Diff line number
Diff line change
@@ -296,10 +296,13 @@ They are mutually exclusive.
296
296
Starting with version 6.0, the framework provides a `PolyglotScriptExecutor` which is based the https://www.graalvm.org/latest/reference-manual/languages/[GraalVM Polyglot API].
297
297
The JSR223 engine implementation for JavaScript, removed from Java by itself, has been replaced by using this new script executor.
298
298
See more information about enabling JavaScript support in GraalVM and what https://www.graalvm.org/latest/reference-manual/js/[configuration options] can be propagated via script variables.
299
+
In particular, an `org.graalvm.polyglot:js` dependency has to be added to the target project to support JavaScript.
300
+
299
301
300
302
Starting with version 6.4, the Python scripts support has been migrated to GraalVM Polyglot as well.
301
303
Now these scripts can be written in Python 3.x and can use third-party libraries.
302
304
See https://www.graalvm.org/latest/reference-manual/python/[GraalPy] documentation for more information.
305
+
In particular, an `rg.graalvm.polyglot:python` dependency has to be added to the target project to support JavaScript.
303
306
304
307
By default, the framework sets `allowAllAccess` to `true` on the shared Polyglot `Context` which enables this interaction with host JVM:
0 commit comments