He actually organized a three-month aviation training program for the actors, so the F-18 flying sequences are legit.

Source: People