Mercurial > hg > graal-compiler
changeset 14159:f14fb79ab265
made it an error to run the client VM on a Mac via mx (since the Mac java launcher translates '-client' to '-server')
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 12 Mar 2014 21:48:51 +0100 |
parents | fd7fcd2d2072 |
children | ab1c093f15c2 |
files | mx/mx_graal.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mx/mx_graal.py Wed Mar 12 21:47:35 2014 +0100 +++ b/mx/mx_graal.py Wed Mar 12 21:48:51 2014 +0100 @@ -717,6 +717,9 @@ if vm is None: vm = _get_vm() + + if 'client' in vm and len(platform.mac_ver()[0]) != 0: + mx.abort("Client VM not supported: java launcher on Mac OS X translates '-client' to '-server'") if cwd is None: cwd = _vm_cwd