As China will be angry over something anyways Japan may as well go ahead and strengthen their capabilities.
Chinese “anger” is a tactic. The Japanese rightly recognize it as such, if our own leaders do not.