I am surprised to know that getBoolean() and valueOf() method returns different results for the same input string.
getBoolean()
valueOf()
I have tried to pass the
The javadoc of getBoolean clearly state that it searches the System Properties. The value that you pass to it is the name of the system property, not a "true" or "false" string.
E.g., `var b = Boolean.getBoolean("some.property");