Skip to content

Commit 909cc97

Browse files
committed
Dependencies to image_config.jar_distributions only needed for Java > 8
1 parent 486d10b commit 909cc97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/mx.sdk/mx_sdk_vm_impl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@ def __init__(self, component, image_config, **kw_args):
11151115
:type image_config: mx_sdk.AbstractNativeImageConfig
11161116
"""
11171117
self.image_config = image_config
1118-
deps = list(image_config.jar_distributions) if _get_svm_support().is_supported() else []
1118+
deps = [] if _src_jdk_version == 8 else list(image_config.jar_distributions)
11191119
super(GraalVmNativeProperties, self).__init__(component, GraalVmNativeProperties.project_name(image_config), deps=deps, **kw_args)
11201120

11211121
@staticmethod

0 commit comments

Comments
 (0)