# HG changeset patch # User Bernhard Urban # Date 1405546630 -7200 # Node ID cc30bd72a19b647b09392e2b8f204cc451ca84d9 # Parent 5bf37ff211bd2d0af40aeee0f81b1ce48000edfb mx: fix in java version parsing diff -r 5bf37ff211bd -r cc30bd72a19b mxtool/mx.py --- 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')