From e9642017799fc29689f389314504aa8109d4d8bf Mon Sep 17 00:00:00 2001 From: Vladimir Mutafov Date: Thu, 18 Apr 2024 14:01:31 +0300 Subject: [PATCH] chore: update graaljs to 24.0.1 (#3805) --- .../eclipse/dirigible/graalium/core/graal/ContextCreator.java | 2 +- .../eclipse/dirigible/graalium/core/graal/EngineCreator.java | 1 - pom.xml | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/engines/engine-graalium/execution/src/main/java/org/eclipse/dirigible/graalium/core/graal/ContextCreator.java b/modules/engines/engine-graalium/execution/src/main/java/org/eclipse/dirigible/graalium/core/graal/ContextCreator.java index f6f1068c08f..855cf644644 100644 --- a/modules/engines/engine-graalium/execution/src/main/java/org/eclipse/dirigible/graalium/core/graal/ContextCreator.java +++ b/modules/engines/engine-graalium/execution/src/main/java/org/eclipse/dirigible/graalium/core/graal/ContextCreator.java @@ -71,7 +71,7 @@ public Context createContext() { .allowHostSocketAccess(true) .build()) .option("js.nashorn-compat", "true") - .option("js.import-assertions", "true") + .option("js.import-attributes", "true") .option("js.json-modules", "true") .option("js.operator-overloading", "true") .option("js.intl-402", "true") diff --git a/modules/engines/engine-graalium/execution/src/main/java/org/eclipse/dirigible/graalium/core/graal/EngineCreator.java b/modules/engines/engine-graalium/execution/src/main/java/org/eclipse/dirigible/graalium/core/graal/EngineCreator.java index 7e56224cd84..1c20cae3438 100644 --- a/modules/engines/engine-graalium/execution/src/main/java/org/eclipse/dirigible/graalium/core/graal/EngineCreator.java +++ b/modules/engines/engine-graalium/execution/src/main/java/org/eclipse/dirigible/graalium/core/graal/EngineCreator.java @@ -45,7 +45,6 @@ public static Engine getOrCreateDebuggableEngine() { } private static Engine.Builder getDefaultEngineBuilder() { - System.setProperty("polyglotimpl.DisableClassPathIsolation", "true"); return Engine.newBuilder() .allowExperimentalOptions(true) .out(outputStream()) diff --git a/pom.xml b/pom.xml index 02f9d1a515e..f69098be2c1 100644 --- a/pom.xml +++ b/pom.xml @@ -127,7 +127,7 @@ 0.58 - 23.1.1 + 24.0.1 2.16.1