The F-35 went into full production with large amounts of defects. Some could be fix by code and others by expensive retrofits. I believe i read a article that the UK F-35 needed 30-50$ million per a plane to bring them up to current standards. There might be 200 F-22, but only about 100 are coded for deployment. The rest are training, backups, in repair, or crippled. All of these stealth planes is costing the US 50-100k per a flight hour. Maybe it is a good thing that China is not burning all this cash at the moment until they have refine the aircrafts and get per-hour cost down with better ram-coating, long lasting engines, etc.