Earlier quoted context omitted.
Can you give an example? In almost all states, if the wife gets pregnant by another man, the man is still on the hook for child support for the next 18+ years... even if she divorces him and marries her lover. I can't think of an equivalent anti-female law with such devastating long-term impact on the woman. I know this message might be off tangent for the HN board. But if we're discussing anti-female sexist culture…
I understand why you would see the particular law you are describing as "anti-male" - however most laws related to children are the way they are because they are not about the welfare of the adults at all . The law is thinking something along the lines of: children need to be taken care of; the government doesn't have the money; whoever happens to be sitting on the musical chairs the first several years of the child'…
Take the following situation: Married woman gets pregnant. Lists arbitrary non-husband X as the parent. At this point, neither male has any ability to compel a paternity test. The law recognizes the arbitrary person listed on the birth certificate as the father (however, at this point he does not have to pay child support). The only way a paternity test can be compelled is if the male is 'accused' of being the father AND the mother attempts to collect child support. In the given scenario, the husband cannot ever know if the child is his unless it is found to be someone elses (he knows it is not) or he gets a divorce and his previous wife requests child support for the child.
This has nothing to do with the welfare of the child. The woman could even list unknown as the father of the child and then immediately give the child up for adoption, preventing the male from ever being able to be involved in the decision and is permanently removed from the life of the child.