It’s known in the security community that Japan has cyberweapons, but does not have the laws that allows them to use them. China, I”m sure, is aware of the fact that the weapons exist and possibly does not want to risk the chance of a retaliatory response by Japan.