China's increasingly assertive presence around disputed territories in the Pacific has sparked Japan's ire in recent years, leading Tokyo to boost security ties with the United States and other countries.