China has a lot of anti-submarine assets. And they have diesel electric subs of their own.
The Japanese have fairly decent submarine designs. Supposedly the first submarines with lithium ion batteries. But you can tell by a couple of things that they aren't quite what they are cracked up to be. Compare the crew sizes of German Type 212 or Russian Lada with their subs. They lack automation and have like twice the necessary crew size. Also the anti-ship missiles it can use, the Harpoon, are basically obsolete. They have like half the range of the Kalibr the Russians exported to China. And they lack the optional high Mach terminal stage.
The Japanese submarines have a large hull, with what seems to be good hull design. They have lithium ion batteries and before that they had the Stirling engines. They are known to have good radar and sonar technology in general. So those parts should also be good. But automation of torpedo and missile launching is lacking. The missiles themselves are lackluster.