RFR: 8255239: The timezone of the hs_err_pid log file is corrupted in Japanese locale

Ioi Lam iklam at openjdk.java.net
Tue Nov 3 18:18:58 UTC 2020


On Mon, 2 Nov 2020 23:59:30 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

> Please review this simple fix by using the wide char version of strftime, i.e. wcsftime, to convert the timezone into a wide character string. After that, converting the wide character string back to multi-byte string before printing out the time and timezone.
> 
> Testing: ran the test case in the bug report manually on:
> 
> - Windows with ja, zh-tw, and en locales;
> 
> - Linux and Mac OS with en locale.

Marked as reviewed by iklam (Reviewer).

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

PR: https://git.openjdk.java.net/jdk/pull/1023


More information about the hotspot-runtime-dev mailing list