Critics , including South Korea and China , say the shrine glorifies Japan 's wartime past .