diff --git a/substratevm/mx.substratevm/suite.py b/substratevm/mx.substratevm/suite.py index 170e63c07c35..b9da4c38a717 100644 --- a/substratevm/mx.substratevm/suite.py +++ b/substratevm/mx.substratevm/suite.py @@ -1090,6 +1090,7 @@ "com.oracle.svm.hosted.agent to java.instrument", "com.oracle.svm.core.graal.thread to jdk.internal.vm.compiler", "com.oracle.svm.core.classinitialization to jdk.internal.vm.compiler", + "com.oracle.svm.truffle.api to org.graalvm.truffle", "* to org.graalvm.nativeimage.driver,org.graalvm.nativeimage.librarysupport,org.graalvm.nativeimage.llvm,com.oracle.svm.svm_enterprise", ], "opens" : [ @@ -1109,6 +1110,8 @@ ], "uses" : [ "org.graalvm.nativeimage.Platform", + "com.oracle.truffle.api.TruffleLanguage.Provider", + "com.oracle.truffle.api.instrumentation.TruffleInstrument.Provider", ], "requiresConcealed": { "jdk.internal.vm.ci": [ diff --git a/truffle/mx.truffle/suite.py b/truffle/mx.truffle/suite.py index 36ae41e89c6d..37ce8551ccd8 100644 --- a/truffle/mx.truffle/suite.py +++ b/truffle/mx.truffle/suite.py @@ -860,7 +860,7 @@ ], "exports" : [ # Qualified exports - "com.oracle.truffle.api* to com.oracle.truffle.regex, jdk.internal.vm.compiler, com.oracle.graal.graal_enterprise", + "com.oracle.truffle.api* to com.oracle.truffle.regex, jdk.internal.vm.compiler, com.oracle.graal.graal_enterprise, org.graalvm.nativeimage.builder", "com.oracle.truffle.api.impl to org.graalvm.locator", "com.oracle.truffle.api to org.graalvm.locator, com.oracle.truffle.truffle_nfi, org.graalvm.nativeimage.builder", "com.oracle.truffle.object to jdk.internal.vm.compiler, com.oracle.graal.graal_enterprise",