RFR: 8265106: IGV: Enforce en-US locale while parsing ideal graph

Yi Yang yyang at openjdk.java.net
Mon Apr 19 09:02:34 UTC 2021


On Mon, 19 Apr 2021 04:48:07 GMT, Yi Yang <yyang at openjdk.org> wrote:

> IGV is designed to support parsing incomplete XML. However, it does not work for non-English users. See #3071 for detailed reasons. This patch would address it.
> 
> (P.S. Locale.ENGLISH also does not work, see  Philip Helger' [comment](https://stackoverflow.com/questions/18531633/locale-specific-messages-in-xerces-2-11-0-java) on the first answer.)

Thank you Roberto for additional testing :)

It also works for my following configuration:
+ JDK 15
+ Both en-US and zh-CN (Systme Locale, not LC_ALL environment variable)

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

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


More information about the hotspot-compiler-dev mailing list