yeah, Initially the problem with returning false at first hand was that, it was set as the value of the highest precedence (in commandLineArgs PropertySource).

Since the jmxEnabled cmdLine option is of Boolean type with default null, it could either return true or null and it can never be false at this getter method. So, we can simply return jmxEnabled as is. Fixing it now.