Skip to content
Snippets Groups Projects
Commit 73be4af1 authored by Mick Jordan's avatar Mick Jordan
Browse files

mx.fastr: pass jdk arg to mx.classpath

parent e72077e1
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@ def do_run_r(args, command, extraVmArgs=None, jdk=None, **kwargs):
if not jdk:
jdk = get_default_jdk()
vmArgs = ['-cp', mx.classpath()]
vmArgs = ['-cp', mx.classpath(jdk=jdk)]
if 'nocompile' in kwargs:
nocompile = True
......@@ -113,7 +113,7 @@ def do_run_r(args, command, extraVmArgs=None, jdk=None, **kwargs):
return mx.run_java(vmArgs + args, jdk=jdk, **kwargs)
def r_classpath(args):
print mx.classpath()
print mx.classpath(jdk=mx.get_jdk())
def _sanitize_vmArgs(jdk, vmArgs):
'''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment