Indonesia's criminal courts are an even bigger disgrace than its aviation industry.
Criminalizing accidents makes safety culture even worse. No one will want to bring up any potential safety issue due to fear of criminal liability. Data recorders will "mysteriously" get wiped all the time. FOQA will be useless. Coverups of everything will be the norm.
Safety culture depends on openness, and people fessing up without fear of retribution.
And since "safety culture" is a big factor, then why should pilots be the only ones to face criminal liability? Why not management & regulators who fostered this culture to begin with?