[jdk8u-dev] RFR: 8282051: The timezone of the hs_err_pid log file is corrupted in Japanese locale

ktakakuri duke at openjdk.java.net
Tue Mar 22 07:09:55 UTC 2022


This is a backport of JDK-8282051: The timezone of the hs_err_pid log file is corrupted in Japanese locale.

I would like to backport the patch to openjdk8u. 
Original patch does not apply cleanly to 8u.
Because the format of time zone in hs_err_pid log is different from 11u and later.
The following is the example of time zone info:
  jdk11:
     Time: Sat Mar 12 00:14:03 2022 Tokyo Standard Time elapsed time: 0 seconds (0d 0h 0m 0s)
  jdk8:
     time: Sat Mar 12 00:09:26 2022
     timezone: Tokyo Standard Time
     elapsed time: 2.736524 seconds (0d 0h 0m 2s)

Testing:
 build on Windows x86_64
 hotspot/runtime on Windows x86_64
 a specific test to confirm the fix in Japanese locale

Could you please review this PR?

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

Commit messages:
 - Backport e2f792c54919d3bb42901ed3c23e8c846db03852

Changes: https://git.openjdk.java.net/jdk8u-dev/pull/20/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk8u-dev&pr=20&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8282051
  Stats: 6 lines in 1 file changed: 4 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk8u-dev/pull/20.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk8u-dev pull/20/head:pull/20

PR: https://git.openjdk.java.net/jdk8u-dev/pull/20


More information about the jdk8u-dev mailing list