changeset 12583:110c3faa57e9

mx: print warning if encounter a non-parsable line in jvm.cfg
author Bernhard Urban <bernhard.urban@jku.at>
date Thu, 24 Oct 2013 18:31:21 +0200
parents a5a4a0bcd863
children bc0ed539018f
files mx/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mx/commands.py	Thu Oct 24 19:21:43 2013 -0700
+++ b/mx/commands.py	Thu Oct 24 18:31:21 2013 +0200
@@ -327,7 +327,7 @@
                             jvmCfgLines += ['-original KNOWN\n']
                         else:
                             # skip lines which we cannot parse (e.g. '-hotspot ALIASED_TO -client')
-                            pass
+                            mx.log("WARNING: skipping not parsable line \"" + line + "\"")
                     else:
                         jvmCfgLines += [line]