Japan initiated real-time missile data sharing and agreed to trilateral military exercises with the United States and South Korea after increased threats from North Korea and China.