diff mx/mx_graal.py @ 21975:290a87b718e1

mx: Use purpose while selecting jdk for IGV and projects. Make jdk selection messages nicer
author Gilles Duboscq <gilles.m.duboscq@oracle.com>
date Thu, 11 Jun 2015 16:17:16 +0200
parents 647459c6013a
children 36e37644f91e
line wrap: on
line diff
--- a/mx/mx_graal.py	Thu Jun 11 15:38:42 2015 +0200
+++ b/mx/mx_graal.py	Thu Jun 11 16:17:16 2015 +0200
@@ -1808,7 +1808,7 @@
     v8 = mx.VersionSpec("1.8")
     def _igvJdkVersionCheck(version):
         return version >= v8 and (version < v8u20 or version >= v8u40)
-    return mx.java_version(_igvJdkVersionCheck, versionDescription='>= 1.8 and < 1.8.0u20 or >= 1.8.0u40').jdk
+    return mx.java_version(_igvJdkVersionCheck, versionDescription='>= 1.8 and < 1.8.0u20 or >= 1.8.0u40', purpose="building & running IGV").jdk
 
 def _igvBuildEnv():
         # When the http_proxy environment variable is set, convert it to the proxy settings that ant needs