Mercurial > hg > truffle
diff mx/mx_graal.py @ 13471:020099961eb4
renamed JavaVersion to VersionSpec
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Sat, 21 Dec 2013 13:33:05 +0100 |
parents | 16d99e9d77ad |
children | 72e2ec923b7b |
line wrap: on
line diff
--- a/mx/mx_graal.py Sat Dec 21 13:28:44 2013 +0100 +++ b/mx/mx_graal.py Sat Dec 21 13:33:05 2013 +0100 @@ -77,7 +77,7 @@ _make_eclipse_launch = False -_minVersion = mx.JavaVersion('1.7.0_04') +_minVersion = mx.VersionSpec('1.7.0_04') def _get_vm(): """ @@ -981,7 +981,7 @@ for vmbuild in ['fastdebug', 'product']: for test in sanitycheck.getDacapos(level=sanitycheck.SanityCheckLevel.Gate, gateBuildLevel=vmbuild): - if 'eclipse' in str(test) and mx.java().version >= mx.JavaVersion('1.8'): + if 'eclipse' in str(test) and mx.java().version >= mx.VersionSpec('1.8'): # DaCapo eclipse doesn't not run under JDK8 continue @@ -1137,7 +1137,7 @@ def igv(args): """run the Ideal Graph Visualizer""" env = os.environ.copy() - if mx.java().version >= mx.JavaVersion('1.8'): + if mx.java().version >= mx.VersionSpec('1.8'): jdk7 = mx.get_env('JAVA7_HOME', None) if jdk7: env['JAVA_HOME'] = jdk7