JDK-8226810: An other case and a small change suggestion

Alan Bateman Alan.Bateman at oracle.com
Thu May 7 12:50:57 UTC 2020


On 07/05/2020 12:37, Johannes Kuhn wrote:
> :
>
> In the end, I don't know what causes the bug, or how I can replicate it.
> I think I did find a likely suspect.
Good sleuthing. I don't what the conditions are for GetLocaleInfo to 
fail but it does look like that would return possibly non-terminated 
garbage starting with "CP" so we should at least fix that.

The issue in JDK-8226810 might be something else. One of the submitters 
to that issue did engage and provided enough information to learn that 
the locale is zh_CN and also reported that it was failing for GB18030. 
GB18030 is not in java.base so that at least explained that report.

-Alan


More information about the core-libs-dev mailing list