For every thing the American judicial system does wrong, China does a hundred things worse. The conviction rate in China is well over 99% (if they want to find you guilty, they will). You can be detained with no access to a lawyer or family indefinitely. There is no separation of powers (the legal system isn't independent of the political system, and the constitution isn't worth anything). Torture and forced confessions are common. Roughly a million people are currently being held in concentration camps without any trial.
I know it's popular to be critical of America, and it's good to shine light on the darkest parts of America, but there is no comparison between it and what goes on in other parts of the world.
This is because China lacks the rule of law and the CPC considers the very notion a threat to their power. They're probably right. The rule of law would diminish the CPC's authoritarian principals.
The only rule in CPC China is whatever the CPC says is the rule, at the time they say it. The consider human rights to be dangerous to the CPC. The fundamental opposition to human rights is spelled out in "Communiqué on the Current State of the Ideological Sphere" in 2013.
I know it's popular to be critical of America, and it's good to shine light on the darkest parts of America, but there is no comparison between it and what goes on in other parts of the world.