The program is the most expensive military weapons system in history , and has been much criticized inside and outside government , in the U.S. and in allied countries .
The Lockheed Martin F-35 Lightning II was a cheap aircraft .