Open
Description
In #22200, existing boolean parsing was made strict so that:
"true" is converted to the boolean value true, "false" is converted to the boolean value false. Everything else raises an error.
However, usages of Boolean.parseBoolean
have made their way into the codebase since then and the implementation of the JDKs boolean parsing logic is anything but strict as a string that is a case-insensitive match to true
will be true and everything else will be false.
I think we should remove these usages of Boolean.parseBoolean
after deprecation in the places where it was previously used and add this API to our forbidden-apis list.