changeset 16539:cc30bd72a19b

mx: fix in java version parsing
author Bernhard Urban <bernhard.urban@jku.at>
date Wed, 16 Jul 2014 23:37:10 +0200
parents 5bf37ff211bd
children a18c229b9a0b
files mxtool/mx.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mxtool/mx.py	Wed Jul 16 09:41:19 2014 -0700
+++ b/mxtool/mx.py	Wed Jul 16 23:37:10 2014 +0200
@@ -1737,7 +1737,7 @@
                 abort(e.returncode)
 
         def _checkOutput(out):
-            return 'java version' in out
+            return 'version' in out
 
         # hotspot can print a warning, e.g. if there's a .hotspot_compiler file in the cwd
         output = output.split('\n')