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.