"But is it wise to buy F35s when the US refuses to allow access to the source code on the software?"
as everyone says - it's a matter of cost - if you want to have access to the software you either build it yourself or in a genuine joint build like Tornado
You then have to be willing to pay all the extra taxes .... IIRC income taxes ran up to 98% in the 50's & 60's