Skip to content

Commit a2bb390

Browse files
authored
Fix endsWith() to the correct version endswith() in mx_sdk_vm_impl.py
Apparently, the PR [[GR-70588] Include the GraalVM version rather than the Java version in the vendor version and basedir name](#12319) (i.e. [commit 270badf](270badf) introduced a Python type because it used `endsWith()` instead of `endswith()`. This lets my builds fail. It's strange that thiy typo hasn't been caught by any tests
1 parent d9161d8 commit a2bb390

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
@@ -2994,7 +2994,7 @@ def base_jdk_version_info():
29942994
if version_type == 'vendor':
29952995
graalvm_suffix = ''
29962996
if java_pre:
2997-
graalvm_suffix += '.' if graalvm_version.endsWith('dev') else '-'
2997+
graalvm_suffix += '.' if graalvm_version.endswith('dev') else '-'
29982998
graalvm_suffix += java_pre
29992999
else:
30003000
assert version_type == 'base-dir', version_type

0 commit comments

Comments
 (0)