RFR: 8311081: KeytoolReaderP12Test.java fail on localized Windows platform

Justin Lu jlu at openjdk.org
Fri Jul 7 19:05:02 UTC 2023


Please review this PR which addresses `KeytoolReaderP12Test.java` failing for non-English locale users.

This test checks output from keytool, but fails on finding the value 'alias name' for non-English locale users. This is because 'alias name' is a localized value. (For example, in `ja` this is '別名'). 

To fix the failing issue, the keytool process should be ran with `-J-Duser.language=en -J-Duser.country=US`.

-------------

Commit messages:
 - Launch processes in English/US locale

Changes: https://git.openjdk.org/jdk/pull/14806/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14806&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8311081
  Stats: 12 lines in 1 file changed: 4 ins; 0 del; 8 mod
  Patch: https://git.openjdk.org/jdk/pull/14806.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14806/head:pull/14806

PR: https://git.openjdk.org/jdk/pull/14806



More information about the security-dev mailing list