Mercurial > hg > truffle
diff mx/mx_graal.py @ 16877:6adb14d2320c
truffle.jar should always be on the bootclasspath regardless of the 'graal' status of the vm.
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Wed, 20 Aug 2014 17:10:13 +0200 |
parents | 73d994651fcd |
children | 0583d157992a |
line wrap: on
line diff
--- a/mx/mx_graal.py Mon Aug 18 19:07:56 2014 +0200 +++ b/mx/mx_graal.py Wed Aug 20 17:10:13 2014 +0200 @@ -990,6 +990,10 @@ if len(ignoredArgs) > 0: mx.log("Warning: The following options will be ignored by the vm because they come after the '-version' argument: " + ' '.join(ignoredArgs)) + if vm == 'original': + truffle_jar = mx.archive(['@TRUFFLE'])[0] + args = ['-Xbootclasspath/p:' + truffle_jar] + args + args = mx.java().processArgs(args) return (pfx, exe, vm, args, cwd)