Skip to content

Commit 6810842

Browse files
committed
[GR-44868] Native image builds with --macro:truffle cannot use hybrid class and module-path.
(cherry picked from commit 9daf455)
1 parent 55449f5 commit 6810842

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mx.graalpython/native-image.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33

44
Requires = language:regex language:llvm language:nfi
55

6-
JavaArgs = -Xmx5100M -Dpolyglot.image-build-time.PreinitializeContexts=python
6+
JavaArgs = -Xmx5100M -Dpolyglot.image-build-time.PreinitializeContexts=python \
7+
--add-exports org.graalvm.sdk/org.graalvm.nativeimage.impl=ALL-UNNAMED
78

89
# TODO --enable-all-security-services is deprecated in 22.0
910
Args = -H:MaxRuntimeCompileMethods=20000 \

0 commit comments

Comments
 (0)