We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d781a0 commit 31b6edcCopy full SHA for 31b6edc
dev/run-tests.py
@@ -481,7 +481,7 @@ def determine_java_version(java_exe):
481
raw_output_lines = raw_output.split('\n')
482
483
# find raw version string, eg 'java version "1.8.0_25"'
484
- raw_version_str = next(str for str in raw_output_lines if " version " in str)
+ raw_version_str = next(x for x in raw_output_lines if " version " in x)
485
486
version_str = raw_version_str.split()[-1].strip('"') # eg '1.8.0_25'
487
version, update = version_str.split('_') # eg ['1.8.0', '25']
0 commit comments