Mercurial > hg > graal-compiler
changeset 9128:703228415b74
more accurate error message when launching a VM that has not yet been built
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 16 Apr 2013 11:33:20 +0200 |
parents | 221ef4b022c5 |
children | d0aab82a6046 |
files | mx/commands.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mx/commands.py Mon Apr 15 19:54:23 2013 +0200 +++ b/mx/commands.py Tue Apr 16 11:33:20 2013 +0200 @@ -364,7 +364,8 @@ pass else: if not exists(jdk): - mx.abort('The ' + build + ' VM has not been created - run "mx build ' + build + '"') + vmOption = ' --vm ' + vmToCheck if vmToCheck else '' + mx.abort('The ' + build + ' VM has not been created - run "mx' + vmOption + ' build ' + build + '"') _installGraalJarInJdks(mx.distribution('GRAAL'))