The JCP advocates that Japan issue further apologies for its actions during World War II and has condemned prime-ministerial visits to Yasukuni Shrine. In the 1930s, while the JCP was still illegal, it was the only political party to actively oppose Japan's war with China and World War II. However the JCP supports the territorial claims by Japan in the Kuril and Senkaku Islands and Liancourt Rocks disputes. Furthermore, the JCP has condemned North Korea's nuclear-weapons testing, calling for effective sanctions, but opposing the prospect of a military response.