Teja is flying with US engine and all foreign parts. Most probably US won't raise objection on 3rd party delivery, because RMAF already flying F18. I see less chance for JF17 ... it's not all about technology, also easily availability of parts (no danger of sanctions) and Indian trade with Malaysia. India is biggest consumer of Malaysian palm oil.. keep trade leverage in consideration.
Otherwise, JF17 is most rugged and war tested machine on Feb 27th. Also regulary take role in striking terrorist hideout between Pak-Afghan border.