[Bug 2182697] msgfmt --java2 option doesn't work with java-17-openjdk