-
Notifications
You must be signed in to change notification settings - Fork 25.5k
Closed
Labels
:Core/Infra/CoreCore issues without another labelCore issues without another labelTeam:Core/InfraMeta label for core/infra teamMeta label for core/infra teamgood first issuelow hanging fruitlow hanging fruittriagedIssue has been looked at, and is being left openIssue has been looked at, and is being left 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.
Metadata
Metadata
Assignees
Labels
:Core/Infra/CoreCore issues without another labelCore issues without another labelTeam:Core/InfraMeta label for core/infra teamMeta label for core/infra teamgood first issuelow hanging fruitlow hanging fruittriagedIssue has been looked at, and is being left openIssue has been looked at, and is being left open