South Korea and China have said the shrine glorifies Japan 's militarist past .