Skip to content

Commit

Permalink
Remove empty selector when fetching the JDK in mx bisect strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-ristovic committed Oct 14, 2024
1 parent 55893c8 commit 72f2f2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/mx.sdk/mx_bisect_strategy.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def _fetch_jdk(self, jdk_id, paths):
# Change directory so that fetch-jdk finds common.json and jdk-binaries.json in repo_path
old_cwd = os.getcwd()
os.chdir(repo_path)
jdk_home = mx_fetchjdk.fetch_jdk(['--to', tempfile.gettempdir(), '--jdk-id', jdk_id, ''])
jdk_home = mx_fetchjdk.fetch_jdk(['--to', tempfile.gettempdir(), '--jdk-id', jdk_id])
self._jdk_home = jdk_home
os.environ['JAVA_HOME'] = jdk_home
except (OSError, IOError) as err:
Expand Down

0 comments on commit 72f2f2b

Please sign in to comment.