File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
substratevm/src/com.oracle.svm.driver/src/com/oracle/svm/driver Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -587,8 +587,9 @@ private List<Path> createTruffleBuilderModulePath() {
587587 jars .addAll (getJars (libTruffleDir , "truffle-compiler" ));
588588 Path builderPath = rootDir .resolve (Paths .get ("lib" , "truffle" , "builder" ));
589589 if (Files .exists (builderPath )) {
590- jars .addAll (getJars (builderPath , "truffle-runtime-svm" , "truffle-enterprise-svm" ));
591- if (libJvmciDir != null ) {
590+ List <Path > truffleRuntimeSVMJars = getJars (builderPath , "truffle-runtime-svm" , "truffle-enterprise-svm" );
591+ jars .addAll (truffleRuntimeSVMJars );
592+ if (libJvmciDir != null && !truffleRuntimeSVMJars .isEmpty ()) {
592593 // truffle-runtime-svm depends on polyglot, which is not part of non-jlinked
593594 // JDKs
594595 jars .addAll (getJars (libJvmciDir , "polyglot" ));
You can’t perform that action at this time.
0 commit comments