On Tue, 3 May 2022 16:17:00 GMT, Roger Riggs wrote:
>> Naoto Sato has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Default to UTF-8 if malloc fails
>
> src/java.base/windows/native/libjava/java_props_md.c line 695:
>
>> 693:
On Tue, 3 May 2022 18:55:52 GMT, Naoto Sato wrote:
>> Java runtime has been detecting the Windows system locale encoding using
>> `GetLocaleInfo(GetSystemDefaultLCID(), LOCALE_IDEFAULTANSICODEPAGE, ...)`,
>> but it returns the *legacy* ANSI code page value, e.g, 1252 for US-English.
>> In
On Tue, 3 May 2022 16:17:00 GMT, Roger Riggs wrote:
>> Naoto Sato has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Default to UTF-8 if malloc fails
>
> src/java.base/windows/native/libjava/java_props_md.c line 695:
>
>> 693:
> Java runtime has been detecting the Windows system locale encoding using
> `GetLocaleInfo(GetSystemDefaultLCID(), LOCALE_IDEFAULTANSICODEPAGE, ...)`,
> but it returns the *legacy* ANSI code page value, e.g, 1252 for US-English.
> In order to detect whether the user has selected `UTF-8` as the
On Wed, 27 Apr 2022 20:23:32 GMT, Naoto Sato wrote:
> Java runtime has been detecting the Windows system locale encoding using
> `GetLocaleInfo(GetSystemDefaultLCID(), LOCALE_IDEFAULTANSICODEPAGE, ...)`,
> but it returns the *legacy* ANSI code page value, e.g, 1252 for US-English.
> In order
On Wed, 27 Apr 2022 23:12:59 GMT, Jie Fu wrote:
> Is it possible to write a jtreg test for this fix? Thanks.
I am happy to write a test if possible, but AFAIK it requires configuring
Windows settings (and reboot), so I don't think jtreg is capable of doing so.
Thus I added `noreg-hard` to the
On Wed, 27 Apr 2022 20:23:32 GMT, Naoto Sato wrote:
> Java runtime has been detecting the Windows system locale encoding using
> `GetLocaleInfo(GetSystemDefaultLCID(), LOCALE_IDEFAULTANSICODEPAGE, ...)`,
> but it returns the *legacy* ANSI code page value, e.g, 1252 for US-English.
> In order
Java runtime has been detecting the Windows system locale encoding using
`GetLocaleInfo(GetSystemDefaultLCID(), LOCALE_IDEFAULTANSICODEPAGE, ...)`, but
it returns the *legacy* ANSI code page value, e.g, 1252 for US-English. In
order to detect whether the user has selected `UTF-8` as the