diff mx/mx_graal.py @ 20805:379471b334cb

Lift 8u40 mx restriction
author Gilles Duboscq <gilles.m.duboscq@oracle.com>
date Tue, 07 Apr 2015 15:00:39 +0200
parents 6e5df2d60fbd
children 10766b486cbb
line wrap: on
line diff
--- a/mx/mx_graal.py	Tue Apr 07 14:58:49 2015 +0200
+++ b/mx/mx_graal.py	Tue Apr 07 15:00:39 2015 +0200
@@ -84,7 +84,7 @@
 _minVersion = mx.VersionSpec('1.8')
 
 # max version (first _unsupported_ version)
-_untilVersion = mx.VersionSpec('1.8.0_40')
+_untilVersion = None
 
 class JDKDeployedDist:
     def __init__(self, name, isExtension):
@@ -2531,7 +2531,7 @@
     # TODO _minVersion check could probably be part of a Suite in mx?
     if mx.java().version < _minVersion:
         mx.abort('Requires Java version ' + str(_minVersion) + ' or greater for JAVA_HOME, got version ' + str(mx.java().version))
-    if mx.java().version >= _untilVersion:
+    if _untilVersion and mx.java().version >= _untilVersion:
         mx.abort('Requires Java version strictly before ' + str(_untilVersion) + ' for JAVA_HOME, got version ' + str(mx.java().version))
 
     if _vmSourcesAvailable: