From 08d1a9e4c8e94520cecaf012458646f374fe7fa1 Mon Sep 17 00:00:00 2001 From: Sam Gammon Date: Thu, 27 Feb 2025 14:09:20 -0800 Subject: [PATCH] Allow experimental options in preinitialized contexts. Adds a flag which allows use of experimental Truffle context options in preinitialized contexts. Fixes and closes oracle/graal#10790 Signed-off-by: Sam Gammon --- .../src/com/oracle/truffle/polyglot/PolyglotContextConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/truffle/src/com.oracle.truffle.polyglot/src/com/oracle/truffle/polyglot/PolyglotContextConfig.java b/truffle/src/com.oracle.truffle.polyglot/src/com/oracle/truffle/polyglot/PolyglotContextConfig.java index 9eaa2acd9964..62e177751fee 100644 --- a/truffle/src/com.oracle.truffle.polyglot/src/com/oracle/truffle/polyglot/PolyglotContextConfig.java +++ b/truffle/src/com.oracle.truffle.polyglot/src/com/oracle/truffle/polyglot/PolyglotContextConfig.java @@ -235,7 +235,7 @@ private static Map computeCommonOptions(Map opti null, false, false, - false, + Boolean.getBoolean("polyglot.image-build-time.PreinitializeAllowExperimentalOptions"), null, Collections.emptyMap(), Collections.emptySet(),