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

Calvin Cheung ccheung at openjdk.java.net
Tue Nov 3 19:36:54 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.

This pull request has now been integrated.

Changeset: b46d73be
Author:    Calvin Cheung <ccheung at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/b46d73be
Stats:     8 lines in 1 file changed: 6 ins; 0 del; 2 mod

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

Reviewed-by: iklam, minqi

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

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


More information about the hotspot-runtime-dev mailing list