Mercurial > hg > truffle
diff mx/commands.py @ 12647:b038b643a3a4
restricted BootstrapGraal option to GRAALVM builds only
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 30 Oct 2013 21:49:04 +0100 |
parents | 868dba721f1e |
children | c6b833f7935e |
line wrap: on
line diff
--- a/mx/commands.py Wed Oct 30 19:59:48 2013 +0100 +++ b/mx/commands.py Wed Oct 30 21:49:04 2013 +0100 @@ -821,7 +821,7 @@ def harness(projectscp, vmArgs): if not exists(javaClass) or getmtime(javaClass) < getmtime(javaSource): subprocess.check_call([mx.java().javac, '-cp', projectscp, '-d', mxdir, javaSource]) - if not isGraalEnabled(_get_vm()): + if _get_vm() != 'graal': prefixArgs = ['-esa', '-ea'] else: prefixArgs = ['-XX:-BootstrapGraal', '-esa', '-ea']