Skip to content

Commit 08d1a9e

Browse files
committed
Allow experimental options in preinitialized contexts.
Adds a flag which allows use of experimental Truffle context options in preinitialized contexts. Fixes and closes oracle#10790 Signed-off-by: Sam Gammon <sam@elide.dev>
1 parent cdb038c commit 08d1a9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

truffle/src/com.oracle.truffle.polyglot/src/com/oracle/truffle/polyglot/PolyglotContextConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ private static Map<String, String> computeCommonOptions(Map<String, String> opti
235235
null,
236236
false,
237237
false,
238-
false,
238+
Boolean.getBoolean("polyglot.image-build-time.PreinitializeAllowExperimentalOptions"),
239239
null,
240240
Collections.emptyMap(),
241241
Collections.emptySet(),

0 commit comments

Comments
 (0)