changeset 11797:65dbed1fdf46

be verbose when the JDK specified by --installed-jdks is missing
author Doug Simon <doug.simon@oracle.com>
date Wed, 25 Sep 2013 21:48:38 +0200
parents 9c4c197aa6e8
children 2fbb9fd55dde
files mx/commands.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mx/commands.py	Wed Sep 25 21:25:06 2013 +0200
+++ b/mx/commands.py	Wed Sep 25 21:48:38 2013 +0200
@@ -345,8 +345,8 @@
                 pass
     else:
         if not exists(jdk):
-            if _installed_jdks and mx._opts.verbose:
-                mx.log("Could not find JDK directory at " + jdk)
+            if _installed_jdks:
+                mx.log("The selected JDK directory does not (yet) exist: " + jdk)
             _handle_missing_VM(build, vmToCheck if vmToCheck else 'graal')
 
     if installGraalJar: